Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96317 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93805 invoked from network); 11 Oct 2016 13:36:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2016 13:36:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.49 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.218.49 mail-oi0-f49.google.com Received: from [209.85.218.49] ([209.85.218.49:33282] helo=mail-oi0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/52-12116-CDAECF75 for ; Tue, 11 Oct 2016 09:36:29 -0400 Received: by mail-oi0-f49.google.com with SMTP id y2so23432178oie.0 for ; Tue, 11 Oct 2016 06:36:28 -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=jHxY0yu0+jSo/UZCg41RJlxk9sPJlThsM0lnNtTtWN4=; b=FoKpBDTPjgP5q9M41bPk0iO/MFRBweXfiHjdhsL11sfRt5X/7U866BObRkVPoKYvty 6Sfxr82MeVorgm6sMi3Uc/JETEEpNadf6vQgO2RTLQBCGzKKk20d3CQBg4tOnJm5we2l KTWr4L1Q8KPmUDz+qSvLTz9nsjERnAKHPe2LyXvecbQ5uC8uqCScNkEzm4fycSI5K3Rh sc4g53VLvsylsvazqggfq2wbSVTrY8I5rAwE4y2hq6imm3esScr35hWJx8ihfvnCJw2D 61s9L9EV36bcGyy8j4muTR4MX/9FUGqBggkGeQBEDEgJMWJ1eidteXWTO7qQ6ujTiQed IKrQ== 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=jHxY0yu0+jSo/UZCg41RJlxk9sPJlThsM0lnNtTtWN4=; b=apROxM4p9Ny7ws3CtkZVQ2oA2t7bGK7vXrEherJz77BTQ6u+QbX6n0gEJdSbvUjDrN j9/5iDKVEqJUob3NQXKg/0e/tU9Dpy9oNTUH2BA1GdDMAIEgyOJpELNJmZoGbv6wXX9D LWLmRhTvoGpCNxUwes9XzZJN2DPUcy7W7wFaj8nmqvJF90q7IhUAXMQTXL4J7V+IyiA/ ZMbgG10QWNzujg2uiPMumrUoytcQrruWsNtqMpPbhaSGVpwysEMUZmjW0PsxQiO6qyj2 NAA9sjIOukqt7aokH2P5Ly2tXZveZfuodJYt4qamF/1oJTSmJKTgkyGxbSuKjvqDvrr5 HAwQ== X-Gm-Message-State: AA6/9RlKZaht86K89ZTj6IcEwGHjSOA4N/IJBGCTWldFxpHT1yf/uo5xNq2JxiU1ULmH20GDNgY3uh2cyyC58A== X-Received: by 10.202.213.195 with SMTP id m186mr2315245oig.63.1476192985413; Tue, 11 Oct 2016 06:36:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.60.199 with HTTP; Tue, 11 Oct 2016 06:36:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Oct 2016 14:36:24 +0100 Message-ID: To: Craig Duncan Cc: Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Counting of non-countable objects From: leight@gmail.com (Leigh) On 11 October 2016 at 10:49, Craig Duncan wrote: > I've updated the RFC now to take the deprecation route, and included > counting scalars: > > https://wiki.php.net/rfc/counting_non_countables > > The only remaining issue is what to do about handling *count(null)* > I think this should be deprecated too, but as it's the only case that > returns zero I wasn't sure whether other folk felt differently? I'd agree that count(null) has no real benefit, and is probably an error.