Re: Re: Case sensitivity: Conclusion(?)

From: Date: Sat, 09 Feb 2002 11:24:30 +0000
Subject: Re: Re: Case sensitivity: Conclusion(?)
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-79811@lists.php.net to get a copy of this message
On Sat, Feb 09, 2002 at 01:41:21AM +0200, Zeev Suraski wrote: > I think that's a nightmare, WTF-factor wise... Just my 0.02NIS how much is that in euro? > > Zeev > > At 12:14 AM 2/9/2002, Jason Greene wrote: > >If you are already thinking about storing the case sensitive name for > >the class/function why not follow Rasmus's suggestion for calling the > >exact case function first, then look for a case insens match. > > > >search case preserved function_table > >if not found { > > search lowercase function_table > > if not found die with "Unknown function" > >} > > > >There is no performance penalty unless you mix case. There is of course > >the extra memory needed for 2 tables. > > > >> > >-- > >Jason T. Greene > >Internet Software Engineer > > > ><jason@inetgurus.net> > ><jason@php.net> > ><jason.greene@tdstelecom.com> > > > >Use PHP: http://www.php.net > > > > > > > >-- > >PHP Development Mailing List <http://www.php.net/> > >To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.dev (#79811) next »