Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101901 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68320 invoked from network); 22 Feb 2018 18:31:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2018 18:31:43 -0000 Authentication-Results: pb1.pair.com header.from=carusogabriel34@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=carusogabriel34@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.171 as permitted sender) X-PHP-List-Original-Sender: carusogabriel34@gmail.com X-Host-Fingerprint: 209.85.128.171 mail-wr0-f171.google.com Received: from [209.85.128.171] ([209.85.128.171:43353] helo=mail-wr0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/00-01511-E8C0F8A5 for ; Thu, 22 Feb 2018 13:31:42 -0500 Received: by mail-wr0-f171.google.com with SMTP id u49so11561800wrc.10 for ; Thu, 22 Feb 2018 10:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=23jxnD0P3ZRLFXfDcry8uf462KfejkG6CRDpIBT4EVA=; b=Hwzy41ZYj1qdTJ/irgkxKUhmLCCRzzFshpiwoxPEz4xQeyMfoEMNlqvI2vHhUeHERO ZU8Rfn8WNnLpSM4+QS1MNqIZ82unnndAaoHEE03/q+gJm36yB7F7+Zddmy2OI0X67Zba T+7UHJ2zJzx1zjOnHOg9xgiIHG5XUUIJ8BTO5cAmvYr7KyRp5PqZ/q1CX7UCMBaqyyMn RXaDimXzUHk+SA+1vVqqgIpGlSt9sCWxEZqI+fihMdcti1yVumucuwgkMq9XQLQAtRmY IogO27yhNn8HEdrXoFRhJutBJ/D5z1Kf/vNXOVtdtkcuX4kcpfEV3+1hyH3C/nDPpYmN jhvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=23jxnD0P3ZRLFXfDcry8uf462KfejkG6CRDpIBT4EVA=; b=RBCsItFfJ6FyehfPgp4irMo39XIBKJOGHFe7DbMlARmDqcO1xiMDK7yrJksqXMgRan 7AbOBr3JvisPi1yw0aIdYdXaR6A/fFIlgHW+uRZfHh8lm0mmq6jPsl2VgUQd8IBuJjPT mm7OmKAALqtQa/QoNFcNEFOhW/DQi6jt9BgZHf9Elj7CFIW2fXMaANbyCkUNbpW5rZ7v 6UrFJ3tE0PqyeHiRFQKeiAkrChqZz4xfkItN/3HpwiGVZr2gL1KnTsDwAyQ38J1W88Es Ft6OlTcGqQb0vIAphNvhOA37fFFuI9IJLwwV7tAK808ajwaqLCfw0N9oBMTJ0+HLFxzP FE3g== X-Gm-Message-State: APf1xPA1vQzlJMhevUh/iS1uRgscFxXk3gwgegmSf48SNOgPBk9RH/t5 X4T8JRjBcW8iv7EphQ2hc5B4kuyuRX9dfBnMVxg= X-Google-Smtp-Source: AH8x226L/U1JvEitj5d+6a2oDyOksFutqLvh02gWPcbxmQetfNX8av06FUC3tdRNEamzinIezFPEzwZULfDtiFT+U4U= X-Received: by 10.223.184.230 with SMTP id c35mr6744895wrg.190.1519324298354; Thu, 22 Feb 2018 10:31:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 22 Feb 2018 18:31:27 +0000 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary="f403045fab6c1a23450565d1411e" Subject: Re: [RFC] is_countable From: carusogabriel34@gmail.com (Gabriel Caruso) --f403045fab6c1a23450565d1411e Content-Type: text/plain; charset="UTF-8" > > Hello, dear Internals. > > First, thanks to Niklas Keller for giving me permission to write an *RFC*! > After that, I like to propose and discuss a new function for PHP 7.x > (current 7.3): is_countable. > > *RFC*: https://wiki.php.net/rfc/is-countable. > > I tried to describe everything there, but of course, let's discuss > everything that should be improved to get this functions merged into the > Core. > > Thanks, > > -- > Gabriel Caruso > Hello again, dear internals. One month since the `is_countable` RFC had open. We have add the support for `count_elements` (thanks @duncan3dc), so we can use this function with internal classes as well. There's only one open discussion from @morrisonlevi, but I do believe is related to arginfo return type, which isn't used in the core yet, so I kept without it. Is something else we should do it, or I can open the voting next week (26/02)? -- Gabriel Caruso --f403045fab6c1a23450565d1411e--