Re: Introducing "Array Of" RFC
| From: | Andrea Faulds | Date: | Wed, 15 Jan 2014 18:21:43 +0000 |
| Subject: | Re: Introducing "Array Of" RFC | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71144@lists.php.net to get a copy of this message | ||
On 15/01/14 18:17, Philip Sturgeon wrote:
This is my first RFC so give me a little leeway if I get things wrong. https://wiki.php.net/rfc/arrayof The implementation has been written by Joe Watkins, and I will be handling the RFC process for him. It is aimed at PHP 5.6, and so far the release managers seem to be ok with the idea of this potentially being merged after the alpha release, so this should not be considered an issue. Everything is open for discussion, especially the current error messages. They are not perfect, so let us know if you have better ideas.I think this is a great proposal. I have one question, however. Though I doubt it would be a frequent usage, would { function (StdClass[][] $x) {} } work, for representing an array of arrays? -- Andrea Faulds http://ajf.me/