note 30654 deleted from language.constants by danbrown

From: Date: Tue, 26 Jul 2011 20:06:25 +0000
Subject: note 30654 deleted from language.constants by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-181915@lists.php.net to get a copy of this message
Note Submitter: Mike Powell ---- In response to the notes above about variable references in constants, double quotes isn't a proper solution because it parses the variable at the time the constant is defined. The desired behavior is to have the variables parsed at the time the constant is referenced, and this behavior can really only be achieved by using eval(), as described above.

« previous php.notes (#181915) next »