php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55445 Short echo tag still depends on short_open_tag setting
Submitted: 2011-08-17 22:44 UTC Modified: 2011-08-17 23:50 UTC
From: sixd@php.net Assigned: colder (profile)
Status: Closed Package: *General Issues
PHP Version: 5.4SVN-2011-08-17 (SVN) OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sixd@php.net
New email:
PHP Version: OS:

 

 [2011-08-17 22:44 UTC] 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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-17 23:34 UTC] colder@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: colder
 [2011-08-17 23:49 UTC] colder@php.net
Automatic comment from SVN on behalf of colder
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=315119
Log: Fix bug #55445 (Incomplete implementation of &lt;?= being independant of short_open_tag)
 [2011-08-17 23:50 UTC] colder@php.net
-Status: Assigned +Status: Closed
 [2011-08-17 23:50 UTC] colder@php.net
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.


 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cb8d6198df882e93bd54776e510642a0fa1f18e3
Log: Fix bug #55445 (Incomplete implementation of &lt;?= being independant of short_open_tag)
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cb8d6198df882e93bd54776e510642a0fa1f18e3
Log: Fix bug #55445 (Incomplete implementation of &lt;?= being independant of short_open_tag)
 [2013-11-17 09:36 UTC] laruence@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cb8d6198df882e93bd54776e510642a0fa1f18e3
Log: Fix bug #55445 (Incomplete implementation of &lt;?= being independant of short_open_tag)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 14:01:33 2025 UTC