#46822 [Com]: Short Open Tags doesnt work well
ID: 46822
Comment by: Thomas dot Worm at gsp-software dot de
Reported By: sskaje at gmail dot com
Status: Open
Bug Type: *Configuration Issues
Operating System: Windows
PHP Version: 5.2.8
New Comment:
[code]<? phpinfo(); [/code]
You forgot the end tag ?>
Previous Comments:
------------------------------------------------------------------------
[2008-12-10 13:23:35] sskaje at gmail dot com
Description:
------------
I try to get some old code running on my apache+php 5.2.8 laptop, then
i turn 'short_open_tag = On'
but, code with tags like
[code]<? phpinfo(); [/code]
cant be parsed as it should be, while code like
[code]<?='asdf'?>[/code]
works
Reproduce code:
---------------
[code]<? phpinfo(); [/code]
Expected result:
----------------
PHP info page
Actual result:
--------------
direct output : <? phpinfo();
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46822&edit=1
Thread (3 messages)