Bug #55445 [Asn->Csd]: Short echo tag still depends on short_open_tag setting
| From: | colder@php.net | Date: | Wed, 17 Aug 2011 23:50:20 +0000 |
| Subject: | Bug #55445 [Asn->Csd]: Short echo tag still depends on short_open_tag setting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162641@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: Assigned
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: All
PHP Version: 5.4SVN-2011-08-17 (SVN)
Assigned To: colder
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-08-17 23:49:58] colder@php.net
Automatic comment from SVN on behalf of colder
Revision: http://svn.php.net/viewvc/?view=revision&revision=315119
Log: Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
------------------------------------------------------------------------
[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