Re: Introducing "Array Of" RFC
| From: | Marco Pivetta | Date: | Wed, 15 Jan 2014 20:25:08 +0000 |
| Subject: | Re: Introducing "Array Of" RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71154@lists.php.net to get a copy of this message | ||
On 15 January 2014 21:19, Kristopher <kristopherwilson@gmail.com> wrote:
> I think this implementation (MyClass[]) should be consistent this when
> passing null.
>
Even without the argument of consistency, the new syntax would be pretty
much useless if
NULL was allowed, since every method would have start
with a call to array_filter.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/