Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71161 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54651 invoked from network); 15 Jan 2014 23:18:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2014 23:18:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.214.45 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 209.85.214.45 mail-bk0-f45.google.com Received: from [209.85.214.45] ([209.85.214.45:45524] helo=mail-bk0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/F0-48719-05717D25 for ; Wed, 15 Jan 2014 18:18:41 -0500 Received: by mail-bk0-f45.google.com with SMTP id v16so937472bkz.32 for ; Wed, 15 Jan 2014 15:18:37 -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:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=rvq5NaVm05oit3nEn3RQLIwjwfCVLT19gbUOTsUWo0A=; b=bOsLmSGgh85WI6A7mgsbOzZAhyLeP3UNnG+o//16WhL/M9Vl5X266zp2Q7/BUCjz35 dWxzcybXmspEsP6ZNWrK9PFQ8pfeijR1Ao7zhUxqqQuLtNEKe8hpT7nu0CpD3z6FsNf/ tL7q9f6Gmfwr5wUMnvZ8E3sx/r5tElYNXCYfxxQfqQCC7Jorvx3xW13PihPDPpDDoD0k N0AgOkQ3TsJ0ZxvN3cQhbZCV9Ad9uxMYgQgWP9TnIMJYAnR95emX9l4n7bh3JYCXIwR/ WHbCLOD07Dbj0VMgxcydMebh/zTobxbbR/Upn7FWAudejP+nLz515SmXxiBBqPu6rDNP Rstw== X-Received: by 10.204.81.7 with SMTP id v7mr2827097bkk.3.1389827917606; Wed, 15 Jan 2014 15:18:37 -0800 (PST) Received: from [192.168.1.115] (mnch-5d86e614.pool.mediaWays.net. [93.134.230.20]) by mx.google.com with ESMTPSA id sx5sm4931812bkb.0.2014.01.15.15.18.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Jan 2014 15:18:36 -0800 (PST) Message-ID: <52D71748.1090402@googlemail.com> Date: Thu, 16 Jan 2014 00:18:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <001301cf1227$6d082ab0$47188010$@tutteli.ch> <002d01cf1234$01e6dc60$05b49520$@tutteli.ch> <004c01cf123d$35730870$a0591950$@tutteli.ch> In-Reply-To: <004c01cf123d$35730870$a0591950$@tutteli.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: cryptocompress@googlemail.com (Crypto Compress) Hello, since there is an option for nullable type-hinted variables, it may be usefull to *explicitly* allow null values in a type-hinted array too. e.g.: function foo(Bar[null] = null) to consider: - null is not an object - null is not "nothing" - null is not "not defined" - null is not a/any type (even documentation states so) Java: only reference types are nullable c#: only if explicitly defined sql: only if explicitly defined cryptocompress