[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Constants

2001-12-03 Thread Andrei Zmievski
On Mon, 03 Dec 2001, Andi Gutmans wrote: > Personally I wouldn't write code which gives FOO_BAR and Foo_BAR two > different meanings but I think you are right that it'd be better and I have > an idea on how to do it which I'll lay out. > We are only talking about global constants defined with de

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Constants

2001-12-03 Thread Andi Gutmans
At 02:42 PM 12/3/2001 -0600, Andrei Zmievski wrote: >On Mon, 03 Dec 2001, Andi Gutmans wrote: > > Personally I wouldn't write code which gives FOO_BAR and Foo_BAR two > > different meanings but I think you are right that it'd be better and I > have > > an idea on how to do it which I'll lay out.

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Constants

2001-12-03 Thread Andrei Zmievski
On Mon, 03 Dec 2001, Andi Gutmans wrote: > Because some of the keys are case-insensitive and some aren't. Case > insensitive hashes don't work if you want to mix the keys. > In any case, I think the solution above is a good one because there are > only 5 constants in the Zend Engine which are ca

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Constants

2001-12-03 Thread Andi Gutmans
At 02:55 PM 12/3/2001 -0600, Andrei Zmievski wrote: >On Mon, 03 Dec 2001, Andi Gutmans wrote: > > Because some of the keys are case-insensitive and some aren't. Case > > insensitive hashes don't work if you want to mix the keys. > > In any case, I think the solution above is a good one because the