Req #50662 [Com]: New directive expression_tags
| From: | kanenas at comcast dot net | Date: | Fri, 19 Nov 2010 11:35:27 +0000 |
| Subject: | Req #50662 [Com]: New directive expression_tags | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156220@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=50662&edit=1
ID: 50662
Comment by: kanenas at comcast dot net
Reported by: joseberardo at gmail dot com
Summary: New directive expression_tags
Status: Open
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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 http://bugs.php.net/bug.php?id=50662&edit=1