Re: [PHP6] Function name consistency

From: Date: Sat, 28 Dec 2013 08:43:33 +0000
Subject: Re: [PHP6] Function name consistency
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 28.12.2013 09:06, Hannes Magnusson wrote:
On Fri, Dec 27, 2013 at 10:57 PM, Yasuo Ohgaki <[email protected]> wrote:
There are many functions that violate this for historical reason. Since PHP has function alias feature by default, function names that violate this standard could be renamed and keep historic names as aliases.
There was a fork at some point (few months (years?) ago) that tried something like that.. Noone cared. I have a local alias list='ls' cause I never remember that command to list the contents of a directory. I tried to fix it upstream, but ... -Hannes When redesigning for PHP6, shouldn't most functions move to a class or namespace in the first place?
But even if you restrict it to better names, it's a step forward I appreciate. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: [email protected] B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Thread (46 messages)

« previous php.internals (#70899) next »