Re: Introducing "Array Of" RFC

From: 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 [email protected] to get a copy of this message
On 15 January 2014 21:19, Kristopher <[email protected]> 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/


Thread (46 messages)

« previous php.internals (#71154) next »