Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84306 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31424 invoked from network); 4 Mar 2015 21:37:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2015 21:37:28 -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.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:41101] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/BA-56703-71B77F45 for ; Wed, 04 Mar 2015 16:37:28 -0500 Received: by qcvx3 with SMTP id x3so11733961qcv.8 for ; Wed, 04 Mar 2015 13:37:25 -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=JI540xKBiytd3zLpI3x++hTFU2+XA6ucVYZ9MqVipYc=; b=z6K45LDACTdPuD8b3fiAbOFHie+sc+1pmSOkf4p+4vuY8jWGg8Eu0Mw0RHQToKv3US o7Irn1Xf4PTfgFIKJQ5XkqrAs/2uC7bOs6gM2ZUQh0FmwqLydc0YazVywBA9inCIYkZM Z/f3Ut+1SvICD9EPTInStbmUbVFsixtExwVEu7tpzYVfZYk6whG5wiq1F3Tc0/H9I6Qn URm5RGuoIzqXzzmmFARSCbfagxRNqezQWrD9UeS2S9/zXRsS/0uBYPjLnLWXw1jJ+kXH L7A+Y6fJx/BkEnn1SSRpegsWj6pWwaM40uM/gmMYITZcCPo1lrCPzLEUPlBvNMvmF9Jb Qmrg== X-Received: by 10.55.53.79 with SMTP id c76mr11488115qka.45.1425505044799; Wed, 04 Mar 2015 13:37:24 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Wed, 4 Mar 2015 13:36:44 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Mar 2015 06:36:44 +0900 X-Google-Sender-Auth: DjL16DEuaQeofkOqSH6FQs9PRrg Message-ID: To: Leigh Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1149052ed225ff05107d4176 Subject: Re: [PHP-DEV] Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1149052ed225ff05107d4176 Content-Type: text/plain; charset=UTF-8 Hi Leigh, On Thu, Mar 5, 2015 at 4:30 AM, Leigh wrote: > On 1 March 2015 at 11:29, Yasuo Ohgaki wrote: > > > > Thoughts? > > > > require 'function_aliases.php'; // End of discussion. > > Maintain it however you want, set it up as a composer package, > whatever. Absolutely no reason for this to be in core, and absolutely > not worth the trouble it causes. > > Sorry if this has already been said, but I'm not going to read 60 > replies, most of which are probably spam. > Your reply is not a spam at all. I will do require 'function_aliases.php'; // End of discussion. If PHP has macro or userspace aliasing! This is one possible solution for this. We have class_alias(). We could have function_alias(). Regards, P.S. We still carry inconsistent names only, though. We may be better do this in PHP. IMHO. -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1149052ed225ff05107d4176--