note 16344 deleted from function.constant by jimw
| From: | jimw@php.net | Date: | Thu, 25 Oct 2001 23:13:36 +0000 |
| Subject: | note 16344 deleted from function.constant by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19442@lists.php.net to get a copy of this message | ||
the example is not usefull, but silly.
A better one is this:
you have an array $test["abc"]="CONSTNAME";
echo constant($test["abc"]);
returns the value of CONSTNAME