Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72853 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35566 invoked from network); 28 Feb 2014 08:11:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2014 08:11:27 -0000 Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.215.180 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 209.85.215.180 mail-ea0-f180.google.com Received: from [209.85.215.180] ([209.85.215.180:61222] helo=mail-ea0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/80-28957-EA440135 for ; Fri, 28 Feb 2014 03:11:27 -0500 Received: by mail-ea0-f180.google.com with SMTP id m10so2392837eaj.25 for ; Fri, 28 Feb 2014 00:11:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ZMUzebJ9YNXZI/cbxT61UbzLh4q5lNKfETCkFYXF/fM=; b=WTbx8fFGuYjRYJPcIfeZoDO3s52uKRwVYetkmcblGQ02Yr/Sx7Zl3y+8pDwwsAEQUo EaTVqXJYsaSQa6TTxmh8xeS50n63fGDEKCXHiQrzEnlmO6Mmli41FbrYi0r3xxEnGbxO ejB5SR3IZlTxaXMTWl3wq9vxBuO4UmePMw4JWA1ftp9r5kkt3N/YEoCaSQqZTcIVeI/R W6woiHbC9OfpLpGQItN6unUyrjhNXuJQEQEDHPqdIXuF5bB3G/cBZKGkOJJisrhEzX8C mbT+XNPUASgjfLnySDePgQgkVcYFqlzmEY1+SGiWG0bNCbfh/hQ8ptdKHLcUVYF3KuJ+ YAog== X-Received: by 10.15.21.136 with SMTP id d8mr2980923eeu.91.1393575083978; Fri, 28 Feb 2014 00:11:23 -0800 (PST) Received: from [192.168.1.115] (mnch-5d877c24.pool.mediaWays.net. [93.135.124.36]) by mx.google.com with ESMTPSA id 46sm7450660ees.4.2014.02.28.00.11.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 00:11:23 -0800 (PST) Message-ID: <531044A8.8050002@googlemail.com> Date: Fri, 28 Feb 2014 09:11:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Marco Pivetta CC: PHP Developers Mailing List References: <52D865C7.4070009@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: cryptocompress@googlemail.com (Crypto Compress) Hello List, > So, should we allow nulls in an arrayof-style type hint? No. Null values (optional values) should be allowed within an nullable-arrayof-style type hint. Compare: function foo(Bar $baz = null) and: function foo(Bar $baz) This is not the same syntax and null is not a type. cryptocompress