If you register the constant with CONST_CS, it will be case 
sensitive.  Most of the constants in PHP are case sensitive.


At 08:34 04/08/2001, Andrei Zmievski wrote:
>Does PHP really support case-sensitive constants? PHP-GTK needs to 
>register both GDK_A and GDK_a constants (they define key symbols), but it 
>seems that zend_register_constant() always puts the constant into the hash 
>table under the lowercase name. What is the point of case-sensitivity then?
>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]

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