Consistent function names

From: Date: Sun, 01 Mar 2015 11:29:49 +0000
Subject: Consistent function names
Groups: php.internals 
Request: Send a blank email to internals+get-84102@lists.php.net to get a copy of this message
Hi all, First of all, I have no intention removing old function names. PHP function names are subject of critics for a long time. http://www.phpsadness.com/sad/4 http://www.phpsadness.com/sad/15 http://www.phpsadness.com/sad/27 How about rename all of these functions according to CODING_STANDARD for PHP7 and have aliases for old names? Some names need complete rename, but most of them are matter of adding "_". Function names like phpversion(), htmlentities(), image*() shouldn't be kept. IMHO. (I repeat. I have no intention removing old names) str*() would be most difficult. How about rename all of them to str_*()? and keep libc compatible alias names forever? Thoughts? It's last chance for PHP7. Sorry that I bring up this topic again, but I couldn't resist. If there isn't many objections, I'll write RFC and do all the work needed. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#84102) next »