note 21970 deleted from function.eval by didou

From: Date: Sat, 17 May 2003 14:37:22 +0000
Subject: note 21970 deleted from function.eval by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48143@lists.php.net to get a copy of this message
Note Submitter: eval doesnt seem to work with defines. For instance, the following code will produce a parse error: define("whatever",1); $test = "whatever"; echo eval($test); Dunno if this is do to defines being resolved before the script is actualy parsed or what.

« previous php.notes (#48143) next »