Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86642 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48080 invoked from network); 14 Jun 2015 21:53:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2015 21:53:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wg0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:32871] helo=mail-wg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/60-45225-0C7FD755 for ; Sun, 14 Jun 2015 17:53:05 -0400 Received: by wgez8 with SMTP id z8so55566716wge.0 for ; Sun, 14 Jun 2015 14:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:cc :message-id; bh=Q1LjomomD1CrNdmRlisoOYBS7AdGoDECV1KQTzXxfEo=; b=t/1N96Q2GtpADIwATpG3tNvUOeXJBMnZrl9lkTyjC2WR4oazVtb/6GoHQ5ftEc0UnS gmt/7KSajAYMVyo7H/IJ2JaydWxxMm9U5B5wdYK4cWLriFFK0b6hbRL+Kt0f6rcnt0WX Lo6rcozhlkFmicbaAujUaO3+e4OKVkVwyitnDS7FeQGZ8rbJMl4yMRBLdKiA0wtCPj5W VPjBodk6tHpI5Se598xXgixibQVZjGjw98LQv2Mm5NZh0xiunYpFRkpSVhfgRmYPfObr AdLNdpXtgPCvGYm9d+02SYU/kTM8fcqulU7hVlZGTHIrXhLoz4TD7Wt4m2cCthhDKPE7 iWjw== X-Received: by 10.180.84.170 with SMTP id a10mr26482157wiz.52.1434318782133; Sun, 14 Jun 2015 14:53:02 -0700 (PDT) Received: from [192.168.0.6] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id ma15sm12972506wic.20.2015.06.14.14.53.00 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Jun 2015 14:53:01 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: References: <5576051A.3040800@gmx.de> <55760771.6020802@gmail.com> <778F345F9918474AB8CAAB03082ECBF7@pc1> <5577DEE4.8030205@gmail.com> <55794DE2.2080602@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Sun, 14 Jun 2015 22:52:50 +0100 CC: "internals@lists.php.net" Message-ID: Subject: Re: [PHP-DEV] Array dereferencing of scalars From: rowan.collins@gmail.com (Rowan Collins) On 14 June 2015 04:33:16 BST, Yasuo Ohgaki wrote: >Hi Rowan, > >On Thu, Jun 11, 2015 at 5:59 PM, Rowan Collins > >wrote: >> This one has given a different message because of it being a >non-string >> value, but would be equally fatal if you tried to call any undefined >> function. Would coercing NULL to an imaginary function which returns >NULL >> actually be useful for anything? > > >For example, getting NULL handler as the default. >This is useful like $v=NULL;$v[1][2][3]; I was talking specifically about using NULL as a *function*, not an *array*.