Re: Direction for the Function Renaming Effort

From: Date: Thu, 08 Feb 2001 23:25:59 +0000
Subject: Re: Direction for the Function Renaming Effort
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2362@lists.php.net to get a copy of this message
'and' and '&&' are not the same thing, and 'or' and '||' are also different... Zeev At 11:00 8/2/2001, Phil Driscoll wrote:
Zak wrote: I think that this is more complicated than what we are discussing here, but is definately related. What do you think this version would entail and how would we implement it? I think that it is really what we are discussing here, but it might also include settling on things like preferred forms for 'and' or && etc. It may then be that a 'racing' version of php could be built which only did the pure stuff and by judicious use of #ifdef did not suffer any performance hit from carrying any baggage.
We haven't so far discussed the order of function parameters. Consistent
and
guessable is good enough for me.
I don't know that we can go back and fix anything - however, having a standard guideline for argument order would probably be a good thing. I appreciate that it might be hard to fix existing stuff (without use of a php.ini switch) and that it is going to be more complicated than simple aliasing, but I don't see the point in sorting out the function names if we still have inconsistent needles and haystacks. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net For additional commands, e-mail: php-qa-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.qa (#2362) next »