You are here: Php4 to Php5 problems summary? « PHP Programming Language « IT news, forums, messages
Php4 to Php5 problems summary?

Posted by Chuck Anderson on 03/30/06 05:21

My remote hosting service just upgraded to Php 5. I believe that this
is the cause of one minor error that I have encountered. This line:
<?= // isset($_SESSION['some_var'])?'Disable':'Enable' ?>

now produces the following error:
Parse error: parse error, unexpected ';' in
/home/abasama/public_html/demo_enable.php on line 114

[I know it's ugly, but I commented out that line in case I want to reuse
it in the future.]

I've also tried changing it to
<?php echo // isset($_SESSION['abas_demo'])?'Disable':'Enable' ?>
and I get the same error.

I don't really care whether I can leave that line as it is or not, but
it got me to wondering what other things might now be broken.

Is there a summary of any sort that would help me know what I should be
looking for as far as broken functionality after upgrading to Php5?

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Integrity is obvious.
The lack of it is common.
*****************************

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация