Req #50662 [Opn->Bgs]: New directive expression_tags
| From: | felipe@php.net | Date: | Sun, 03 Jul 2011 18:35:59 +0000 |
| Subject: | Req #50662 [Opn->Bgs]: New directive expression_tags | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161542@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=50662&edit=1
ID: 50662
Updated by: felipe@php.net
Reported by: joseberardo at gmail dot com
Summary: New directive expression_tags
-Status: Open
+Status: Bogus
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: all
PHP Version: 6SVN-2010-01-04 (snap)
Block user comment: N
Private report: N
New Comment:
short_tags is always available as of PHP 5.4
Previous Comments:
------------------------------------------------------------------------
[2010-11-19 12:35:27] kanenas at comcast dot net
Following the discussion on PHP-DEV, everyone likes the idea of unconditionally
enabling echo tags. The current "echo_tags-patch" does this. "echo-tags-test"
tests it, and "echo-tags-test-2" no longer applies. Patch is now against r305556.
------------------------------------------------------------------------
[2010-10-22 13:11:30] kanenas at comcast dot net
Here is a patch (off of the PHP 5.3.3 distribution) to add an "echo_tag"
configuration option (barely tested) and two tests. It's a good start, for anyone
interested.
------------------------------------------------------------------------
[2010-01-04 22:17:48] joseberardo at gmail dot com
Description:
------------
The directive short_tags is deprecated and should not be disponible in 6th major version.
But, it brings expression tags (<?=) and it will no longer be disponible too.
But it's a good idea to create another directive, maybe expression_tag, to enable only
expression tags (<?=) and not short_tags (<?). There will be no XML issues to concern and we
will can continue using expression tags.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=50662&edit=1