PHP setting to enable <?=
-
14-11-2019 - |
Domanda
Hey guys, 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?
Soluzione
Just set
short_open_tag=On
in php.ini
Altri suggerimenti
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.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow