PHP setting to enable <?=
I just upgraded my WAMP.
A lot of 开发者_开发知识库my code used to use <?=$variable?>
for a quick echo statement. Does anyone know the php setting to turn this back on?
Just set
short_open_tag=On
in php.ini
In PHP.ini, set short_open_tag = 1
Set your short_open_tag to 1 inside your php.ini
In php.ini this variable is called short_open_tag
Check this php manual: http://php.net/manual/en/ini.core.php for turning this ON.
精彩评论