开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜