Re: [Zend Engine 2] Re: [PHP-DEV] Constants
| From: | Andrei Zmievski | Date: | Mon, 03 Dec 2001 20:55:13 +0000 |
| Subject: | Re: [Zend Engine 2] Re: [PHP-DEV] Constants | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72376@lists.php.net to get a copy of this message | ||
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 case-insensitive.
I realize that. Perhaps _ex() versions of hash functions could take a
flag indicating which hash function to use. This may come in handy not
just for constants, you know.
-Andrei
* "I'll need daily status reports on why you're so behind." -- Dilbert's
boss *