Configure PHP to include <? =

Hey guys, just updated my WAMP.

A lot of my codes used <?=$variable?>to express echoes quickly. Does anyone know a php setting to enable this?

+3
source share
4 answers

Just install

short_open_tag=On

in php.ini

+6
source

In PHP.ini set short_open_tag = 1

+2
source

Set short_open_tag to 1 inside your php.ini

+2
source

In php.ini this variable is called short_open_tag

Check out this php manual: http://php.net/manual/en/ini.core.php to enable this option.

+1
source

All Articles