note 11293 deleted from define by danbeck
| From: | danbeck@php.net | Date: | Thu, 08 Mar 2001 18:05:34 +0000 |
| Subject: | note 11293 deleted from define by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12050@lists.php.net to get a copy of this message | ||
gilaphp,
Nope. I wanted to _get_ the value of a constant whose _name_ is stored into a string variable, just
like my example in the first comment above shows (have a better look at it).
As I said in my other comment, the constant() function was added to this purpose, along with a
couple of nice arrays (see the Changelog for php4). But I see it was not into 4.0.1, but into 4.0.4.
That was (I think) _after_ my first comment.
(Not that I want credit you see :-))
andrew