PHP5 <?= support?

liunx

Guest
I have PHP5 installed at home. I have some PHP4 code that isn't working at home and I think it's because they use "<?=" everywhere to echo stuff which PHP5 doesn't regconize. Is there a variable in php.ini where I can enable support of this? Thanks.short_open_tag (<!-- m --><a class="postlink" href="http://us2.php.net/manual/en/ini.core.php#ini.short-open-tag">http://us2.php.net/manual/en/ini.core.p ... t-open-tag</a><!-- m -->)

(And now you've seen the main reason it's a good idea to never use them in your code. ;) )From PHP 6 it will not be possible to use short tags at all. I suggest that you make sure to cover that in future scripts.
 
Back
Top