Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84115 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55195 invoked from network); 1 Mar 2015 20:20:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2015 20:20:11 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.44 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.44 mail-qg0-f44.google.com Received: from [209.85.192.44] ([209.85.192.44:62324] helo=mail-qg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/00-53678-97473F45 for ; Sun, 01 Mar 2015 15:20:09 -0500 Received: by mail-qg0-f44.google.com with SMTP id z107so1858500qgd.3 for ; Sun, 01 Mar 2015 12:20:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=/58YaUSQxZMc3nD+FsmNeyCuNOQ52yXN8+Qu89Yp0AY=; b=KGh1LjGnT50fsNhDasRzABFyaEd2iSMdBiVYB2j17Ych3DDQdqyaLlV4oO8ooVV5je Bnc3MCDpiYzWbUehzJjCXrsDiGYRo6amtW7ECbBwJpc2cL8BIrhO10Q25yIfknbEkFJs aCJ0YFupHtmFcY+bu4LzNXmkEEkoCzgkxFyuv9YC13jm/Z/ZX5o7vRaglR6XHxpJJRKV tzu3CGi+27KfSEgQk9ga4HnAgGG/A9pDbw9TqkwUb5VKFlweBhDyXJIVt7Vlp6mAbvsJ Gmh8rzCznQjmY5OOcKHRfWTiDMI9Qb/sRdpgw52TEvPX3UJq32lk4lQtrTpeJKlPRSq1 10Cg== X-Received: by 10.140.148.17 with SMTP id 17mr31762972qhu.0.1425241204285; Sun, 01 Mar 2015 12:20:04 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Sun, 1 Mar 2015 12:19:24 -0800 (PST) In-Reply-To: <54F320E9.5000706@fischer.name> References: <5E7DF0C5-BCB4-432A-A876-A5057FEBFBB5@gmail.com> <54F320E9.5000706@fischer.name> Date: Mon, 2 Mar 2015 05:19:24 +0900 X-Google-Sender-Auth: lbZ44QfoROMs5WUl_bT4HoSBBaM Message-ID: To: Markus Fischer Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1136ef96b3855505103fd3a2 Subject: Re: [PHP-DEV] Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1136ef96b3855505103fd3a2 Content-Type: text/plain; charset=UTF-8 Hi Markus and Fischer, On Sun, Mar 1, 2015 at 11:23 PM, Markus Fischer wrote: > On 01.03.15 13:53, Rowan Collins wrote: > > On 1 March 2015 11:29:49 GMT, Yasuo Ohgaki wrote: > > > >> How about rename all of these functions according to CODING_STANDARD > >> for > >> PHP7 > >> and have aliases for old names? > > > > If this list had an FAQ (which I think it should), this would be on it. > > > > The answer is no, it's just not worth it. Having a function called > str_pos which is an alias of strpos, but only on some versions, is more > confusing, not less. > > My sentiment too. Factor in that someone already using the proposed > himself, things can only go south from here. > > If PHP wants to clean up, then do it right: use a namespace for it. I agree use of namespace is better solution. It's rather severe BC, though. How about rename functions except "string" and "array" related functions? BTW, I cannot change document system, but I'm going to update all doc contents if this passes. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1136ef96b3855505103fd3a2--