Edit report at http://bugs.php.net/bug.php?id=17179&edit=1
ID: 17179 Updated by: [email protected] 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
