Re: Introducing "Array Of" RFC

From: Date: Mon, 20 Jan 2014 19:58:24 +0000
Subject: Re: Introducing "Array Of" RFC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to internals+get-71344@lists.php.net to get a copy of this message
On 20/01/14 19:54, Philip Sturgeon wrote:
No, they are not generics. They do not require setup or definition of ANY kind, they are jsut arrays of content.
Right. Implict Array of int to Array<int> cast. These are generics.
Uses purely as an example (not as statement of love for Java), Java does have both. They are not alternatives to the same goal.
Java arrays and PHP arrays are hardly comparable. -- Andrea Faulds http://ajf.me/

« previous php.internals (#71344) next »