I’ve ran into this issue before but don’t remember what was causing it. I have a small app that uses the shorthand notation to print variables, <?=$myvar?>, but it doesn’t seem to get parsed by the webserver?
Any ideas on what might be wrong here? It’s a bit weird since everything else is working ok.
Thanks!
its a short open tag with an echo command (=). since php 5.4 its no longer marked as short open tag and therefore works even with php.ini setting short_open_tags set to off beginning with that version. for earlier versions it depends on that option.
more information:
http://php.net/manual/en/ini.core.php#ini.short-open-tag
you can check that option e.g. using
$sot = ini_get('short_open_tags');