Php4 to Php5 problems summary?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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
 Integrity is obvious.
 The lack of it is common.

Re: Php4 to Php5 problems summary?

Chuck Anderson wrote:
Quoted text here. Click to load it

Have you tried:
<?php //echo isset($_SESSION['abas_demo'])?'Disable':'Enable'; ?>

Correct code should help ;-)

Considering the 'what's changed' listing: have a look here:

Site Timeline