You can't have two constants with the same string but different case 
sensitivity.  It's a limitation of the current implementation.

Zeev

At 09:03 05/08/2001, Andrei Zmievski wrote:
>At 06:34 PM 8/4/01 +0300, Zeev Suraski wrote:
>>If you register the constant with CONST_CS, it will be case 
>>sensitive.  Most of the constants in PHP are case sensitive.
>
>But it doesn't work. I register GDK_A with CONST_CS and then when I try to 
>register GDK_a with CONST_CS as well it complains that it's already 
>registered. Try it yourself.
>
>-Andrei

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to