Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71154 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38115 invoked from network); 15 Jan 2014 20:25:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2014 20:25:32 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.47 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.128.47 mail-qe0-f47.google.com Received: from [209.85.128.47] ([209.85.128.47:50726] helo=mail-qe0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/E8-26701-BBEE6D25 for ; Wed, 15 Jan 2014 15:25:32 -0500 Received: by mail-qe0-f47.google.com with SMTP id 5so1609804qeb.20 for ; Wed, 15 Jan 2014 12:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Z9ltg9un1MNX4wFRQuDXOxFFdQGGKhS5VLYK41dskfQ=; b=FUFnTjYW7KsrMX3XJGaxBJBzvTob6ww7oHRyMneyVlmIA7zAJT/JWE0EWUh+IlZqnM PZ9TeeSdSnb7dChI5WDbFTW8wvNemD03/VPVPFfbeRkHMMbH91+7kZgpeFJRpU1CVXnW MZhfsEhAduReyWk+I57NwyhjGJeUwHphXxs6Dlm+DcyjOX55x/EZTJ1lFhObJENDbICQ SiaA7wo12Bh+Gu2VvKP36HmMSsZwtW/xqe+RPlc3ggXoROVQaK6tthR5aQPQ4DqGLHho Z4TF1o7w2Ni4MLt6tP+kGuCfizpsJtwtjUiLLB4kE/K5j2UdLqWw1bFcuUICUVGe6E/9 2IuA== X-Received: by 10.229.71.69 with SMTP id g5mr8536706qcj.6.1389817528995; Wed, 15 Jan 2014 12:25:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.85.149 with HTTP; Wed, 15 Jan 2014 12:25:08 -0800 (PST) In-Reply-To: References: <001301cf1227$6d082ab0$47188010$@tutteli.ch> Date: Wed, 15 Jan 2014 21:25:08 +0100 Message-ID: To: Kristopher Cc: Philip Sturgeon , Robert Stoll , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1133b2741e54bd04f0081c8b Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: ocramius@gmail.com (Marco Pivetta) --001a1133b2741e54bd04f0081c8b Content-Type: text/plain; charset=UTF-8 On 15 January 2014 21:19, Kristopher wrote: > I think this implementation (MyClass[]) should be consistent this when > passing null. > Even without the argument of consistency, the new syntax would be pretty much useless if `NULL` was allowed, since every method would have start with a call to `array_filter`. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --001a1133b2741e54bd04f0081c8b--