Re: Consistent function names
| From: | Christoph Becker | Date: | Wed, 04 Mar 2015 20:56:40 +0000 |
| Subject: | Re: Consistent function names | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84304@lists.php.net to get a copy of this message | ||
Leigh wrote:
> On 1 March 2015 at 11:29, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>>
>> Thoughts?
>>
>
> require 'function_aliases.php'; // End of discussion.
It is not possible to my knowledge, however, to define function aliases
in PHP (a wrapper function would have an obvious performance penalty).
Maybe that would be a nice addition to the language.
> 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.
I fully agree.
--
Christoph M. Becker