Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55215 invoked from network); 8 Mar 2015 22:44:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2015 22:44:30 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.180 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.180 mail-lb0-f180.google.com Received: from [209.85.217.180] ([209.85.217.180:38454] helo=mail-lb0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/41-44738-BC0DCF45 for ; Sun, 08 Mar 2015 17:44:27 -0500 Received: by lbiz12 with SMTP id z12so44700424lbi.5 for ; Sun, 08 Mar 2015 15:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SrhFmh21DG7ovYvCMudpCeTh8Ru/Xq+V98CjAKJJcio=; b=o/UuPwyaBTS2475S/rbO9LLi3qTKlmzokTp9bHcpbZxZ+QKkj8HWUtchdMMUuKi3Hl BKgiWUgwBG1MlDAThhvT0HEJKzPIrucUVb0JcAt74/cewx7KratwVaQ4cm52DpQZKA+s WrX32m9mDKuaW3BbrhE0GKmgje5EDzC5wpjDVv+487sBOpUyxXBuSVstWKQUwfuaYaWe lStTKFYL/YuhSBzZRCw4r1Y9OclbSaWUR1BPikGJ5EcGmgp+syQcyYKl2H3VfrcEWjS4 8Li+uY6sOAtxZsK5tn1eR7xAUnPSP6EVJUv2JXJtFwovht82gI/N9hSis0ilQ1nEpKDH WzxA== MIME-Version: 1.0 X-Received: by 10.112.180.198 with SMTP id dq6mr22548384lbc.93.1425854664599; Sun, 08 Mar 2015 15:44:24 -0700 (PDT) Received: by 10.112.181.41 with HTTP; Sun, 8 Mar 2015 15:44:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Mar 2015 09:44:24 +1100 Message-ID: To: reeze Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [Discussion] Deprecate function sizeof() From: pierre.php@gmail.com (Pierre Joye) On Sun, Mar 8, 2015 at 2:51 AM, reeze wrote: > Hi internals, > > 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. > > The doc page's[1] user contributed notes indicate that too. > > What do you think? As I tend to like the idea to cleanup things, adding warning and deprecation warnings for the sake of it is not too appealing to me. Especially for this kind of things. Cheers, -- Pierre @pierrejoye | http://www.libgd.org