Re: [RFC] is_countable
| From: | Levi Morrison | Date: | Sun, 21 Jan 2018 18:43:20 +0000 |
| Subject: | Re: [RFC] is_countable | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101649@lists.php.net to get a copy of this message | ||
On Sun, Jan 21, 2018 at 11:01 AM, Gabriel Caruso
<carusogabriel34@gmail.com> wrote:
> 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.
I added some comments on the implementation. I have no objection to
the RFC itself. It is small, useful, and relates to a core language
feature which in my opinion makes it a good candidate for our standard
library.