Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72892 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75852 invoked from network); 1 Mar 2014 15:25:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2014 15:25:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=pjsturgeon@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pjsturgeon@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.179 as permitted sender) X-PHP-List-Original-Sender: pjsturgeon@gmail.com X-Host-Fingerprint: 209.85.217.179 mail-lb0-f179.google.com Received: from [209.85.217.179] ([209.85.217.179:56470] helo=mail-lb0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/61-03854-10CF1135 for ; Sat, 01 Mar 2014 10:25:54 -0500 Received: by mail-lb0-f179.google.com with SMTP id p9so3217692lbv.24 for ; Sat, 01 Mar 2014 07:25:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jB/NBslTiP6anqOZkwWVnmD5caE3Le4VObMoELzHyXs=; b=CQGY+Nep4mNKB2xlY17CSqxbcSUVEgeDmEjQC0pHq/yPMmL5HU98Fw5S/5LfcLDYn0 nwMw45tQinblmk4nO5AL+r8bGUdOiOjAJ4asWV7jBt6p4s+7h3GQOqkX8qiu3X61r7Qh uKMUvOezySZd+/2JjNjPuhPh21H8qPfQ2QssbgOECC8ICFkzTZS44aNklmvTxnXV4X4u yXt/W7T+eA4prEvujPt7+6HGOoqOjDlFXPjNkO8CoFwspbMB/jN/pWbC8qDAh2fISyfG m7FS4yjXouqh66mypfXuCgZhwa2FcIEw4qgQaFkTtG/0pcdsTGA/TgJbocY+Q6K5YmxH hr3A== MIME-Version: 1.0 X-Received: by 10.152.6.199 with SMTP id d7mr16256509laa.22.1393687551105; Sat, 01 Mar 2014 07:25:51 -0800 (PST) Received: by 10.114.66.44 with HTTP; Sat, 1 Mar 2014 07:25:51 -0800 (PST) In-Reply-To: References: <37A9BBE2-1D9C-4715-9942-EF064476170F@ajf.me> <175351E4-45C6-4B9F-AEEC-FCED17414255@ajf.me> Date: Sat, 1 Mar 2014 10:25:51 -0500 Message-ID: To: Andrea Faulds Cc: Adam Harvey , Bob Weinand , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE][RFC] Array Of From: pjsturgeon@gmail.com (Philip Sturgeon) On Sat, Mar 1, 2014 at 10:22 AM, Andrea Faulds wrote: > > On 1 Mar 2014, at 15:20, Philip Sturgeon wrote: > > It also lines up nicely with the syntax everyone is using for > DocBlocks, so again, why not have it now and have some other syntax > for a slightly more powerful feature in the future maybe. > > > Or, we could have generics-like syntax now and add proper generics later, > meaning people would get a free performance boost eventually and we'd be > able to eliminate the O(n) issue. > > -- > Andrea Faulds > http://ajf.me/ > > > > And again I say that is something that will be considered if this vote doesn't pass. "Array of" using Generics-like syntax in 5.7 and full on generics in 5++ (6 or 7) is looking like a more likely route at this point. It's just one that I personally don't like. :)