Click to See Complete Forum and Search --> : PHP5 <?= support?
dinosoup
03-01-2007, 10:17 PM
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.
NogDog
03-01-2007, 11:19 PM
short_open_tag (http://us2.php.net/manual/en/ini.core.php#ini.short-open-tag)
(And now you've seen the main reason it's a good idea to never use them in your code. ;) )
Piranha
03-01-2007, 11:48 PM
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.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.