#46822 [NEW]: Short Open Tags doesnt work well

From: Date: Wed, 10 Dec 2008 13:23:36 +0000
Subject: #46822 [NEW]: Short Open Tags doesnt work well
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131866@lists.php.net to get a copy of this message
From:             sskaje at gmail dot com
Operating system: Windows
PHP version:      5.2.8
PHP Bug Type:     *Configuration Issues
Bug description:  Short Open Tags doesnt work well

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 bug report at http://bugs.php.net/?id=46822&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=46822&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=46822&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=46822&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=46822&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46822&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=46822&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=46822&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=46822&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=46822&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=46822&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=46822&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=46822&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=46822&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=46822&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=46822&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=46822&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=46822&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=46822&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=46822&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=46822&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=46822&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#131866) next »