Req #50662 [Com]: New directive expression_tags
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: Feature/Change Request
Operating System: all
PHP Version: 6SVN-2010-01-04 (snap)
Block user comment: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (4 messages)