I have been handed legacy code which contains the following:
<?= $variable ?>
Now this outputs a string no problem on the old linux server however on a new windows box running PHP 5 this code does not echo the string.
Instead of replacing lots of code, is there a way I can tell PHP (in the ini?) that this should be echoed?
To clarify that answer, you need to add that to either the .htaccess file of the directory the PHP file is in, or the PHP.ini file for the server.
This topic is now closed. New replies are no longer allowed.