note 10466 deleted from function.define by sniper

From: Date: Wed, 29 Jan 2003 03:47:57 +0000
Subject: note 10466 deleted from function.define by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42963@lists.php.net to get a copy of this message
Precision about "Define must be used BEFORE any place it is used.": It's also when a constant is used in a function. If a function is defined before the constant, when this function is used, it knows that this constant is defined but doesn't know it's value. Fortunately, with 'eval', it's ok. (behavior observed with php 3.0.16)

« previous php.notes (#42963) next »