开发者

PHP setting to enable <?=

开发者 https://www.devze.com 2023-03-06 03:39 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号