Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71144 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15136 invoked from network); 15 Jan 2014 18:21:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2014 18:21:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.241 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.241 imap3-1.ox.registrar-servers.com Received: from [198.187.29.241] ([198.187.29.241:58324] helo=imap3-1.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/24-26701-DB1D6D25 for ; Wed, 15 Jan 2014 13:21:50 -0500 Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id 54E182A007B; Wed, 15 Jan 2014 13:21:46 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap3.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap3.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kHUWMhUQXq6k; Wed, 15 Jan 2014 13:21:46 -0500 (EST) Received: from [192.168.0.200] (unknown [176.25.177.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id A70072A0053; Wed, 15 Jan 2014 13:21:45 -0500 (EST) Message-ID: <52D6D1B7.6050901@ajf.me> Date: Wed, 15 Jan 2014 18:21:43 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Philip Sturgeon , "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: ajf@ajf.me (Andrea Faulds) 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/