Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10250 invoked from network); 1 Mar 2015 11:30:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2015 11:30:33 -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.192.43 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.43 mail-qg0-f43.google.com Received: from [209.85.192.43] ([209.85.192.43:32833] helo=mail-qg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/36-63732-758F2F45 for ; Sun, 01 Mar 2015 06:30:32 -0500 Received: by mail-qg0-f43.google.com with SMTP id i50so20880709qgf.2 for ; Sun, 01 Mar 2015 03:30:29 -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=AopsJ6lsH3w3HUZctnH1lDg0AR3O95JQM+B+4v9Fo8I=; b=C50H7aE0j08zDg5E/O25DDV+53wgJkNOX6Yq80Bd934b7IP3/KbFDhyzjHzCev8nUz Q7cFTRdafxNvFEadjc95CtF6IT1ZWg33PjFTV/yGeYTJ2C0oeixSB7suSOHw3CRHaRMp e3povT2GLfn1wKU0a4N3S1smA36UEHcs7A/skGQbpT/9s3JmgnigouSY4jOa0Y49O5// 5ylcQnhQZyUOFhXQd9qTviMeEyXyhOpIsEHGqy6s3xMaLCjNnajK+W0uUv6yncX0nABU J4vUjXRR69WN2npup0OJFjetV/hIdbwy09iVuLiqnLMCfxTEcs8BHNvQvQKsp4hMrZVV qteQ== X-Received: by 10.140.35.239 with SMTP id n102mr41081625qgn.69.1425209429220; Sun, 01 Mar 2015 03:30:29 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Sun, 1 Mar 2015 03:29:49 -0800 (PST) Date: Sun, 1 Mar 2015 20:29:49 +0900 X-Google-Sender-Auth: xJoZChtbWiI8DsplymhOl-nnwag Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c03a7ec263170510386dbd Subject: Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c03a7ec263170510386dbd Content-Type: text/plain; charset=UTF-8 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 --001a11c03a7ec263170510386dbd--