Req #17179 [Opn->Bgs]: evaluation constants
| From: | johannes@php.net | Date: | Wed, 22 Dec 2010 14:02:56 +0000 |
| Subject: | Req #17179 [Opn->Bgs]: evaluation constants | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157257@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=17179&edit=1
ID: 17179
Updated by: johannes@php.net
Reported by: joy at 1984 dot cz
Summary: evaluation constants
-Status: Open
+Status: Bogus
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: Linux
PHP Version: 4.2.0
Block user comment: N
Private report: N
New Comment:
"If eval is the answer you're asking the wrong question" and this is an
eval()-like feature.
Previous Comments:
------------------------------------------------------------------------
[2002-05-13 09:09:53] joy at 1984 dot cz
Hello,
I have this idea:
<?
def("AAA", "echo(\"bla\");"); //"evaluate" constant
definition
AAA AAA //using constant
?>
will substitute
<?
echo("bla"); echo("bla");
?>
What do you mean about this feature?
Thanks, Mark Vydra
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=17179&edit=1