Re: Introducing "Array Of" RFC

From: Date: Wed, 15 Jan 2014 21:24:46 +0000
Subject: Re: Introducing "Array Of" RFC
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-71157@lists.php.net to get a copy of this message
Hi Philip, On 15 Jan 2014, at 19:17, Philip Sturgeon <pjsturgeon@gmail.com> wrote: [...] > > 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. Very nice proposal. One thing I noticed by reading the code (and the tests9 is that it bails out at the first offender. Given I hint for Foo[], and pass [new Foo(), new Bar(), new Baz()] it will only inform me about Bar violating Foo. I would like to have a more descriptive error message that contains both Bar and Baz. cu, Lars

Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc
« previous php.internals (#71157) next »