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: 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] col...@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] 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