Edit report at https://bugs.php.net/bug.php?id=55445&edit=1

 ID:                 55445
 Updated by:         col...@php.net
 Reported by:        s...@php.net
 Summary:            Short echo tag still depends on short_open_tag
                     setting
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            *General Issues
 Operating System:   All
 PHP Version:        5.4SVN-2011-08-17 (SVN)
-Assigned To:        
+Assigned To:        colder
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2011-08-17 22:44:56] s...@php.net

Description:
------------
Use of <?= still depends on short_open_tag.

Also note the NEWS file regarding this change references short_tags which is 
the 
internal GC() name.  It says:
  - <?= is now always available regardless of the short_tags setting (Rasmus)


Test script:
---------------
<?php $u = "chris"; ?><p>Welcome <?= $u ?></p>


Expected result:
----------------
$ php54 -d short_open_tag=0 t.php
 <p>Welcome chris</p>
$ php54 -d short_open_tag=1 t.php
 <p>Welcome chris</p>

Actual result:
--------------
$ php54 -d short_open_tag=0 t.php
 <p>Welcome <?= $u ?></p>
$ php54 -d short_open_tag=1 t.php
 <p>Welcome chris</p>


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55445&edit=1

Reply via email to