[RFC] [DISCUSSION] Consistent Function Names

From: Date: Mon, 02 Mar 2015 21:52:03 +0000
Subject: [RFC] [DISCUSSION] Consistent Function Names
Groups: php.internals 
Request: Send a blank email to internals+get-84189@lists.php.net to get a copy of this message
Hi all, First of all, I have no intention to remove nor deprecate old function names. Old function names must exist for compatibility and should be able to use forever. We have CODING_STANDARDS[1] for a long time. However, PHP has so many functions that do not confirm this. Many of violating functions can have standard conforming names safely This RFC[2] proposes the CODING_STANDARDS confirmed function names. The list[3] is almost complete, but improvement can be added. For example, get_rusage() could be sys_get_rusage() because there is sys_getloadavg() already. There would not be much opinions for independent modules like BCMath, GD. Please take a look for others and give your comments. Thank you! [1] https://github.com/php/php-src/blob/master/CODING_STANDARDS [2] https://wiki.php.net/rfc/consistent_function_names [3] https://wiki.php.net/rfc/consistent_function_names#list_of_functions_to_be_renamed -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#84189) next »