Bug #55445 [Opn->Asn]: Short echo tag still depends on short_open_tag setting

From: Date: Wed, 17 Aug 2011 23:34:29 +0000
Subject: Bug #55445 [Opn->Asn]: Short echo tag still depends on short_open_tag setting
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-162640@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55445&edit=1

 ID:                 55445
 Updated by:         colder@php.net
 Reported by:        sixd@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] sixd@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


Thread (3 messages)

« previous php.bugs (#162640) next »