Re: Consistent function names
| From: | Rowan Collins | Date: | Sun, 01 Mar 2015 12:53:56 +0000 |
| Subject: | Re: Consistent function names | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84104@lists.php.net to get a copy of this message | ||
On 1 March 2015 11:29:49 GMT, Yasuo Ohgaki <yohgaki@ohgaki.net> 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.
Some people, such as the author of phpsadness.com, enjoy ranting about things, and would probably
find a way to be as critical of the new aliases as the current names.
Regards,
--
Rowan Collins
[IMSoP]