Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84423 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52623 invoked from network); 8 Mar 2015 01:39:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2015 01:39:49 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.175 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.214.175 mail-ob0-f175.google.com Received: from [209.85.214.175] ([209.85.214.175:46088] helo=mail-ob0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/C0-48254-468ABF45 for ; Sat, 07 Mar 2015 20:39:48 -0500 Received: by obcva2 with SMTP id va2so8986431obc.13 for ; Sat, 07 Mar 2015 17:39:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=zthzVjwlWqEsIoMDnBT6lqSxfnncNY1HBgtwm56muBU=; b=ilpE4DsjvazZuRp7xXtqSL2rcRArs1Z2NcT6Z6dAZxZImdJi82NLGgRM+V0KpUi4gl IrBwAiadvBO+2MN33P+48+wzWG9UY0kovSTouFm2uqOwEMEG8blToysvWriaQQoeGRze 3V82aYfSG9UNTUPNLsyFZhkd1YvCVZv3+YMayGozTUr9/DvzskrSUdB3M6PPjy6ebf+o IwnI3XVucYasjCFDw3ySeR+KPjAMCdpxAaAxf3MBqQ2MOkAzNpW0PV7fR3T4QIReIZXB GuGezCm7ipUwD99ZR3XoMNd8Rj+Lhrrs7gvE/t80M2VwDf6kauXaQt+ABpbdwv537eE+ TrWg== X-Received: by 10.182.250.193 with SMTP id ze1mr16665385obc.70.1425778784921; Sat, 07 Mar 2015 17:39:44 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.58.2 with HTTP; Sat, 7 Mar 2015 17:39:04 -0800 (PST) In-Reply-To: <54FB6287.80502@gmail.com> References: <54FB6287.80502@gmail.com> Date: Sun, 8 Mar 2015 10:39:04 +0900 X-Google-Sender-Auth: PLN4VLZyzBmudoh3rbY7WeCSeMQ Message-ID: To: Stanislav Malyshev Cc: reeze , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0163514000f0e20510bcfe97 Subject: Re: [PHP-DEV] [Discussion] Deprecate function sizeof() From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e0163514000f0e20510bcfe97 Content-Type: text/plain; charset=UTF-8 Hi all, On Sun, Mar 8, 2015 at 5:41 AM, Stanislav Malyshev wrote: > > I'd like to deprecate function: sizeof() [1][2], which is an alias of > > count(). some people > > expect it return the memory size of the variable. > > Why? So, some people are wrong, why we need to mess with the language to > accommodate them? > I don't think it is a good idea. The same opinion. Unless there are good enough reasons, these aliases should be kept. If "Consistent function names" RFC passes, aliases will be listed in main function page only. It may reduce confusions hopefully. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --089e0163514000f0e20510bcfe97--