Bug #17179: evaluation constants
| From: | joy at 1984 dot cz | Date: | Mon, 13 May 2002 13:09:53 +0000 |
| Subject: | Bug #17179: evaluation constants | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7526@lists.php.net to get a copy of this message | ||
From: joy@1984.cz
Operating system: Linux
PHP version: 4.2.0
PHP Bug Type: Feature/Change Request
Bug description: evaluation constants
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 bug report at http://bugs.php.net/?id=17179&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17179&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17179&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17179&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17179&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17179&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17179&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17179&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17179&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17179&r=globals