Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47485 invoked from network); 16 Jan 2014 19:44:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2014 19:44:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.52 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.52 mail-pa0-f52.google.com Received: from [209.85.220.52] ([209.85.220.52:59972] helo=mail-pa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/24-21406-5A638D25 for ; Thu, 16 Jan 2014 14:44:38 -0500 Received: by mail-pa0-f52.google.com with SMTP id bj1so1602909pad.39 for ; Thu, 16 Jan 2014 11:44:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6nR3nJ0f8oRES3susfcftvrgsQ8NMRLDY4uDQ+2Y3Es=; b=fCSmIh2M9IGKUdMdKUYV4DqbrNRfMqJ6xK0eGXejuS+WVNy5NzhzVee4fFePvpaoTv JtyTTHVx6jVh0unmPtjXHxPvqmQibTGGL8KVJy0N7Yq6Oda3u7xKvODDD+CFW+U5mC6c FShYH1o4h0Q2qL0NsFChIG/JgN18T14TeiD00BXoLp6YW8OauV0dR173bkUr3wYoOVkg uAcmAFOQr9Hb1k5vFNGKnG2FPdprMNTtDUZ3rBv8jH0Sq+wpveC+fcme8cj5yh0PTe7l y0j9DH0vbsanu8CDJL0ItaoVldjiDgwh8FtlKcXITwSx8D6GqtcFDvyoCQR1PkVyKifP Oesg== X-Gm-Message-State: ALoCoQnAgVjHKfGSa8AhIiyFdi39IWaH1DbbtCFfvc2I2Jasy9aVDOIgrj9X/Fe0PAnwxKnRjKqC MIME-Version: 1.0 X-Received: by 10.66.27.201 with SMTP id v9mr12387334pag.136.1389901473952; Thu, 16 Jan 2014 11:44:33 -0800 (PST) Sender: php@golemon.com Received: by 10.70.77.164 with HTTP; Thu, 16 Jan 2014 11:44:33 -0800 (PST) X-Originating-IP: [2001:470:1f09:2fa:22c9:d0ff:fe87:295b] In-Reply-To: <002201cf12db$046d8d60$0d48a820$@tutteli.ch> References: <002201cf12db$046d8d60$0d48a820$@tutteli.ch> Date: Thu, 16 Jan 2014 11:44:33 -0800 X-Google-Sender-Auth: opH4SFPq6ggsy9vw823rkHjQPx0 Message-ID: To: Robert Stoll Cc: Philip Sturgeon , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: pollita@php.net (Sara Golemon) >> * Typed arrays - Arrays are a special primitive which can be typed as >> implicitly or explicitly numerically indexed, or associative, and to >> specific types: >> array or array >> > > Out of curiosity, does HHVM support both use cases: NULL as a valid member and NULL as an error? > If so, how does the syntax differ? > That's captured via Nullable types. array is an array of Foo objects (nulls not allowed). array is an array of (Foo Objects or NULL) -Sara