Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84210 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32330 invoked from network); 3 Mar 2015 00:15:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 00:15:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.172 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.172 mail-qc0-f172.google.com Received: from [209.85.216.172] ([209.85.216.172:35893] helo=mail-qc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/F5-14834-63DF4F45 for ; Mon, 02 Mar 2015 19:15:50 -0500 Received: by qcxn11 with SMTP id n11so5718621qcx.3 for ; Mon, 02 Mar 2015 16:15:47 -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=SivNu/51XTYqOBVGKZXzGHdOQZzD8VzIZj75/hQOeRs=; b=J3C38iN3CNjx7lM+0sx9F7Hb9hG61I7CYcSr4jokGWkQ8mXcqk8splmBJRpn1S+Mjf rejMtfQoYDv+axTZUWcpRKDfGJNvVBdTzs7XHDN3qDcRv77JyKyRtlVL6B2fMyW5QDwZ eSME7HC0a5nQ1O1rcM2Ab4/oXCsIOSeqUQdGeuGbP16Q0eaDkF4ZDvS58RtQwLCcPeta MeZKHQqCYzi7dPgbj2f8SFXqcTEYknvVVlaIbUUcKHDGSR+NcyeJDohk9RtRaTS9Qq0v exSq/Ntu09TWLii/YCg4Q9D273KxQqCeG4OiHi06zQCUVri7l7G2Umr8WLc0nniqCha7 b1+Q== X-Received: by 10.229.80.3 with SMTP id r3mr10701402qck.23.1425341747544; Mon, 02 Mar 2015 16:15:47 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Mon, 2 Mar 2015 16:15:07 -0800 (PST) In-Reply-To: <54F4FA47.2020108@lerdorf.com> References: <54F4E29D.7080501@garfieldtech.com> <54F4E93C.80206@gmail.com> <54F4EBEC.2090702@garfieldtech.com> <54F4F3FC.6060501@fischer.name> <54F4FA47.2020108@lerdorf.com> Date: Tue, 3 Mar 2015 09:15:07 +0900 X-Google-Sender-Auth: mPeqBbvGOf5hLJDB1aIvOdIW3gw Message-ID: To: Rasmus Lerdorf Cc: Markus Fischer , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1133cb788bc9da0510573c54 Subject: Re: [PHP-DEV] Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1133cb788bc9da0510573c54 Content-Type: text/plain; charset=UTF-8 Hi Rasmus, On Tue, Mar 3, 2015 at 9:03 AM, Rasmus Lerdorf wrote: > These come from the underlying libaries. You can type "man dcgettext" or > "man bind_textdomain_codeset" at your Linux command line and learn a lot > about how these work. Plus, if you are a C dev, much like strlen(), > these are simply the names you expect, or at least they are instantly > recognizable to you. As I normally explain to people, there is vertical > consistency here, not horizontal consistency. > > I understand how people who don't have a background in the underlying > libraries might wish for a different API and horizontal consistency > across disparate extensions, but simply adding a bunch of aliases that > have no basis in anything doesn't help anybody. > I know where gettext function names come from. If we write these legacy modules now, there will be modname_function() only. Why couldn't we do it before PHP7? I proposed the same before PHP5. I'll probably do the same before PHP8 if we have legacy names still... We can live without new names, so it's not too important. I just feel somehow PHP being legacy/unmaintained when I see/use legacy function names... Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1133cb788bc9da0510573c54--