Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96399 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33370 invoked from network); 17 Oct 2016 20:57:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2016 20:57:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.169 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.161.169 mail-yw0-f169.google.com Received: from [209.85.161.169] ([209.85.161.169:36207] helo=mail-yw0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/05-00450-C2B35085 for ; Mon, 17 Oct 2016 16:57:17 -0400 Received: by mail-yw0-f169.google.com with SMTP id u124so125282787ywg.3 for ; Mon, 17 Oct 2016 13:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rnzx+h5ajwSVBDtiLX8E5avTR+WgGiFiyYgrutj8Cu4=; b=so5vRi/Aeoq7qWTKp9lcCEUuujhwPOM0EFJk3rUaVGKKlzFFdtUR7M5rl3HJd6i8Q4 krKc917L2geceqWCWd9QmPgUmrK3Ahgj868YZmicCK7U3KdJQB5tPq+3KRSTG4ndsQTi xrYxXZsPmBUIKD4+WYJA6MiJOLuRlSu7ZPPOkDTSItNuENGAUSIcmokKyUs5nI+cVl4r pU8QJxa1xe2c8QCwreh/XcYXTEVuV67sShDKU1IBk/fhe1vN57AJWkob+cnRbdZKVemD znCzbCWKD/la2WlwiJPNOu52ngqAOAP1U4cU1MC9SZBkIHCe8jb4717N+WNL982cc8Vf 0CaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rnzx+h5ajwSVBDtiLX8E5avTR+WgGiFiyYgrutj8Cu4=; b=jphYK62tGTgNHMkhuQ33JSJH7VQxCOTFcLsJYJ2jHQJqVPCpZNuIAGA9VRW+wYGsxW WITH4YKawGwz38WKCkwdkdeOwWtcOEetUbl72catVXR9AfWwyq+dbI4ltH3w+MN227Kc Z4WsvNlDmNgfKQVlwOtKRS59ILYhQ7BFhJeYRtWzDg7n7ZXA+AuFiZdjItGHm49EEuiF yNu7EEr8LB0PZRFOzNUu4c4dirTHVBS11F0phbQcuJP7LkS7duLkU77aRvqdp977Cm8y OfAJAcpPaNjeHupDnZi+bjn8/68PfuoPTc8us24x5MMlpWJCRjoV4joHwX2kTgld0RlI zNdA== X-Gm-Message-State: AA6/9RkF9Up7jpQyaE/fMvM1+1uQs6hl7eBUCtDHSmwQGu+WMfmyDsHXoj8OmVfryklVTZn2jHYSg6zirNq1XQ== X-Received: by 10.129.13.214 with SMTP id 205mr25548583ywn.241.1476737834167; Mon, 17 Oct 2016 13:57:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.219.12 with HTTP; Mon, 17 Oct 2016 13:57:13 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Oct 2016 22:57:13 +0200 Message-ID: To: Craig Duncan Cc: Internals Content-Type: multipart/alternative; boundary=001a1142e9720832df053f15d273 Subject: Re: [PHP-DEV] [RFC] Counting of non-countable objects From: nikita.ppv@gmail.com (Nikita Popov) --001a1142e9720832df053f15d273 Content-Type: text/plain; charset=UTF-8 On Mon, Oct 17, 2016 at 10:50 PM, Craig Duncan wrote: > I've updated the RFC now to include count(null) which resolves the final > open question. > > If there isn't any more feedback I'll open voting in a few days > > https://wiki.php.net/rfc/counting_non_countables > > Thanks, > Craig > I'm not sure I understand the motivation for throwing a deprecation notice instead of a warning. In particular, what is the action that will be taken here in the next major version? I guess we would throw a warning and return false (instead of 0/1). But is the change of return value from 0/1 to false really sufficiently worthwhile to go with a deprecation first? In any case, if you want to go with deprecation, please specify what action this RFC implies for PHP 8. Nikita --001a1142e9720832df053f15d273--