Re: Constanst are case-insensitive

From: Date: Sat, 04 Aug 2001 15:34:52 +0000
Subject: Re: Constanst are case-insensitive
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62115@lists.php.net to get a copy of this message
If you register the constant with CONST_CS, it will be case sensitive. Most of the constants in PHP are case sensitive. Zeev 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? -Andrei -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#62115) next »