Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70899 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65986 invoked from network); 28 Dec 2013 08:43:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Dec 2013 08:43:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=lang@b1-systems.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lang@b1-systems.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain b1-systems.de designates 84.200.69.220 as permitted sender) X-PHP-List-Original-Sender: lang@b1-systems.de X-Host-Fingerprint: 84.200.69.220 mx1.b1-systems.de Received: from [84.200.69.220] ([84.200.69.220:37503] helo=mx1.b1-systems.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/10-64652-A3F8EB25 for ; Sat, 28 Dec 2013 03:43:39 -0500 Received: from [192.168.1.17] (cable-86-56-10-145.cust.telecolumbus.net [86.56.10.145]) by mx1.b1-systems.de (Postfix) with ESMTPSA id A017E4052; Sat, 28 Dec 2013 09:30:50 +0100 (CET) Message-ID: <52BE8F35.9090104@b1-systems.de> Date: Sat, 28 Dec 2013 09:43:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Hannes Magnusson , "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [PHP6] Function name consistency From: lang@b1-systems.de (Ralf Lang) On 28.12.2013 09:06, Hannes Magnusson wrote: > On Fri, Dec 27, 2013 at 10:57 PM, Yasuo Ohgaki 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: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537