Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84452 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78427 invoked from network); 9 Mar 2015 03:57:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2015 03:57:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=reeze.xia@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=reeze.xia@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.44 as permitted sender) X-PHP-List-Original-Sender: reeze.xia@gmail.com X-Host-Fingerprint: 74.125.82.44 mail-wg0-f44.google.com Received: from [74.125.82.44] ([74.125.82.44:36909] helo=mail-wg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/94-44738-73A1DF45 for ; Sun, 08 Mar 2015 22:57:44 -0500 Received: by wggx13 with SMTP id x13so31930955wgg.4 for ; Sun, 08 Mar 2015 20:57:41 -0700 (PDT) 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=aTMA+lwM5VNGA2Eju+S6YIb1+lL3YonH9mGVDLse5NI=; b=SVW4L9shftNEUXAwdHIxA5/w672E+5can571/CUKbgN4x78huxzb2TPpfRAaAUkE3y 5Au54N1clMcAdtzOwW1BWz1/n2XLGFzVKW5b7ixR6QoFZiydjD0/3Kvk43LewkCyUdxX Ch2p2h/nsQ9eAwwbZ0nUClhavVeZcuR5+ZE/SdPBcV06BNlTlWMMajw4VECPIiMl9jPk VfAVAFv1p7MpCgu02SG15T/oU+CDITWt3DD8P5yd8ekDwO4eKJBk2Jr724Z2o5haTJVD XZIFc3lhoKlb8H6DcdxfhY1Z9crJmyWUGwM1hGqO230SG9I+HuBKZhLHEkZLg0XfMhlG yF8A== X-Received: by 10.180.12.194 with SMTP id a2mr31112635wic.55.1425873461294; Sun, 08 Mar 2015 20:57:41 -0700 (PDT) MIME-Version: 1.0 Sender: reeze.xia@gmail.com Received: by 10.194.58.241 with HTTP; Sun, 8 Mar 2015 20:57:21 -0700 (PDT) In-Reply-To: References: <54FB6287.80502@gmail.com> Date: Mon, 9 Mar 2015 11:57:21 +0800 X-Google-Sender-Auth: ocIc-0o1Vhq44Dy_YWMXlGnHpbU Message-ID: To: Yasuo Ohgaki Cc: Stanislav Malyshev , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c366ca27bc5d0510d309ba Subject: Re: [PHP-DEV] [Discussion] Deprecate function sizeof() From: reeze@php.net (reeze) --001a11c366ca27bc5d0510d309ba Content-Type: text/plain; charset=ISO-8859-1 On 8 March 2015 at 09:39, Yasuo Ohgaki wrote: > 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 > Yes, I think so, it didn't remove the alias, but propose use use count() instead. > listed in main function page only. It may reduce confusions hopefully. > That might helps. > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > -- Reeze Xia http://reeze.cn --001a11c366ca27bc5d0510d309ba--