note 11293 added to define

From: Date: Wed, 14 Feb 2001 16:09:00 +0000
Subject: note 11293 added to define
Groups: php.notes 
Request: Send a blank email to php-notes+get-11048@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 http://www.php.net/manual/en/function.define.php

« previous php.notes (#11048) next »