Re: accessing a constant which name is stored in a variable

From: Date: Sun, 03 Sep 2000 21:25:53 +0000
Subject: Re: accessing a constant which name is stored in a variable
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-31851@lists.php.net to get a copy of this message
At 00:17 04/09/2000, André Langhorst wrote:
Out of pure interest... Why would you want this functionality? Just go: print my_constant;
I can´t because at I don´t know which constant I want to access at compile time.
Sounds like you're not using constants properly, then. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#31851) next »