Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84189 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96346 invoked from network); 2 Mar 2015 21:52:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 21:52:47 -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.171 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.171 mail-qc0-f171.google.com Received: from [209.85.216.171] ([209.85.216.171:41344] helo=mail-qc0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/9E-14834-EABD4F45 for ; Mon, 02 Mar 2015 16:52:46 -0500 Received: by qcvs11 with SMTP id s11so27253770qcv.8 for ; Mon, 02 Mar 2015 13:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=KzOi/4H23K7qIplwuOkljhU2kij7F4bxQwcPCd8EJyQ=; b=Gtkjqp5HDL3PQm6riZ8Z3GxyKLklw4Sj/J7mfbYpGBK/IdWmEE2T2FWFi0/XBEzRrR UFM+b7e4YRbI23+cBUHcfqH9TQe9jr5v3WkO2tdnIlVjI1nbTyS1M4SR5WOf7i9styJ4 vZytV9tk0rqaiH3eOChUywxdPn2ifFua+imutUAZzOWgRLcHkJBszQTFDrnHwXdcx9b0 +R1n7K+3Lw85dbW17617PHUIyHwTQJ9mA1sXi6wRjmlflltYWEccswCsGINmWCjJISd9 gygan9ja3EP6kDXZ41pyyEnACvdq6dTwA+U8WYaSZlohXcBQflhGMqnc6sOpfrooFGq9 Lzww== X-Received: by 10.140.28.36 with SMTP id 33mr2586156qgy.6.1425333163896; Mon, 02 Mar 2015 13:52:43 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Mon, 2 Mar 2015 13:52:03 -0800 (PST) Date: Tue, 3 Mar 2015 06:52:03 +0900 X-Google-Sender-Auth: SBskHMFPXBARXjK6q_t0ZS_3psc Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113a9a64ebb59c0510553cc1 Subject: [RFC] [DISCUSSION] Consistent Function Names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113a9a64ebb59c0510553cc1 Content-Type: text/plain; charset=UTF-8 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 --001a113a9a64ebb59c0510553cc1--