> I don't think it is trivial to implement this without: > a) Creating a second version of our hash tables (I don't like duplicate code). > b) Adding more complexity to the already complex hash tables. I don't know enough about Zend internals to speak with any authority, but wouldn't an "easy" way of doing this be to: a) store *only* the mixed case version of the class name in the hash table, and b) change get_class(), etc. so that they automatically pass the result through strtolower() (or whatever) first ... unless the optional second argument is passed, in which case it's just returned as is. You wouldn't need a bigger nor an additional hash table, AFAICT, and only what I imagine is relatively minor code changes to the get_class(), etc. functions. - Colin -- 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]
- Re: [PHP-DEV] 4.1 & Declaration Case Persistance Sterling Hughes
- Re: [PHP-DEV] 4.1 & Declaration Case Persistance John Donagher
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andi Gutmans
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andrei Zmievski
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andi Gutmans
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andrei Zmievski
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andi Gutmans
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andrei Zmievski
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... John Donagher
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Andi Gutmans
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Colin Viebrock
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Sterling Hughes
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Zeev Suraski
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Shaun Batterton
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Colin Viebrock
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Chuck Hagenbuch
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Sterling Hughes
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Wez Furlong
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Joe Brown
- Re: [PHP-DEV] 4.1 & Declaration Case Persista... Zeev Suraski
- AW: [PHP-DEV] 4.1 & Declaration Case Persista... Harald Radi