Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71157 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44455 invoked from network); 15 Jan 2014 21:24:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2014 21:24:59 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:41601] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/F9-26701-9ACF6D25 for ; Wed, 15 Jan 2014 16:24:58 -0500 Received: from lstrojnypro4.fritz.box (ppp-93-104-87-250.dynamic.mnet-online.de [::ffff:93.104.87.250]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Wed, 15 Jan 2014 22:24:50 +0100 id 000000000000002D.0000000052D6FCA2.0000169C Content-Type: multipart/signed; boundary="Apple-Mail=_4DF06953-732A-4515-B113-793E4EC16589"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) In-Reply-To: Date: Wed, 15 Jan 2014 22:24:46 +0100 Cc: "internals@lists.php.net" Message-ID: <93EFD00C-017E-4DBE-A9A4-AEA40109D354@strojny.net> References: To: Philip Sturgeon X-Mailer: Apple Mail (2.1827) Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: lars@strojny.net (Lars Strojny) --Apple-Mail=_4DF06953-732A-4515-B113-793E4EC16589 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Philip, On 15 Jan 2014, at 19:17, Philip Sturgeon wrote: [...] >=20 > 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. >=20 > 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 --Apple-Mail=_4DF06953-732A-4515-B113-793E4EC16589 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIVAwUBUtb8niQPF+sCY6wHAQLXQA/+IoBAhrSmBvMiHpQXj+lSPWqMYgJ7vU79 vGMX2gWz//emk4HI+Ayu082JTE3dr2Nxfy1xEJGeTMwahLjGCr9m3ad5ZQqFRsF0 Mh5FiykEfP0kHV3s7IKF3g2CCOIb4Wcy/Nbsu1Yw/jqWhRgSXLsNHvwP3RVnPckg B0rs74NXAJHuIioryilOSleLDXCYjMmaXELRVJLEYHujux3i4GBzj/ewm5R6eP3D bZbCvlcKlMBRbVvkywQaDr2LlT1hMU9VC8DadARDbwJVDEZNVMFqBFapZ9zXjoNS Sh/rA+JSEz1zjqs1VUSPb55nxtMVC88FMmH1XMYqrzvaR79luI2n4QEKrI6PLxUc ZGq/uLuV/g/FEIRztKdyx7NSVrsWSNt40nDrbAJu5bPmTE8dtTq1v+/5/nsHFfTZ FP+vFaQFsaP4mkbNnCMp88Mkb/WzQrX9qKoWBx6nu4T+nMHXZEc+k9XHRbj1xlJC W6k1FjwaU3KbKxTY6XVZxHf+d+tjWIRhaZDoLKcE82nKzQzRqKC5r/BVWVUNtz85 QFCAy3uE4SNizf/QPXAGgeu+H1Mn1M3nBvNkAlHLVKx3tBnVEyl1Vw5f5pcgUYdw hv2+DJ8e2bQLD2hcLSsGoRQSAkAxbhIl0NMDipozNJSGeQENx7Mr4yxJOTO969dB r2KKmXPCcZE= =gqrH -----END PGP SIGNATURE----- --Apple-Mail=_4DF06953-732A-4515-B113-793E4EC16589--