Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88279 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7275 invoked from network); 17 Sep 2015 09:01:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Sep 2015 09:01:40 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:38820] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/C0-33947-3718AF55 for ; Thu, 17 Sep 2015 05:01:39 -0400 Received: by wiclk2 with SMTP id lk2so18155999wic.1 for ; Thu, 17 Sep 2015 02:01:36 -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:to:cc :message-id; bh=f+QGHNhfn9coIk6Ro7yW9lRhwlh4aAKuLNNrifFApoA=; b=nEtlsNyX7Wzzd8msXvc4raICY0MpalkGHc0awgd0MTydU1htAlJLI3hN7gWmwGQsIR 87cdTxmaIDHqsllQPTJKV1XiN08S9v07uyAXrwP8gw/Y1RKkFsaCu9JcbtinnzldhTe4 1ulYOY4Fb92dDuLKwJcZWFx/cVBqJE0Z2dB/qf4gX25xBaD+fmyROVxROQaCWV31uFqH RiXD4v+KUEPRLYMlSIfDHbANPFCpu4tH/ZzljRrdhdV48C/zPG5J3lj+1BdGn+R4OZ4D 3aJcUtku9AbsE4gqLUQCc7om1EwmcGNquNKRRX1cnEa8ZyazGWapOCFeeOCrDZvEXx2I 6saw== X-Received: by 10.180.102.195 with SMTP id fq3mr5657674wib.7.1442480496766; Thu, 17 Sep 2015 02:01:36 -0700 (PDT) Received: from [192.168.0.6] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by smtp.gmail.com with ESMTPSA id db8sm2207015wjb.41.2015.09.17.02.01.35 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Sep 2015 02:01:36 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <711C7F58-6187-4ED2-8314-EB217DF0EC2B@thesba.com> References: <1F615BCD-1B9B-4C51-A210-869F1AA1F6E3@craigfrancis.co.uk> <55E5EBBF.6020803@gmail.com> <0BA3A129-D356-4781-B6DE-E2B5A7924AE2@craigfrancis.co.uk> <55E6EC36.6090301@gmail.com> <9AF329EC-99A5-412D-A52B-432627A5520F@gmail.com> <6F4D91EE-B56E-4B83-B1AF-598C3F6897FC@craigfrancis.co.uk> <55F07BA4.2000204@gmail.com> <55F6B911.9080400@gmail.com> <96BE7F01-D04B-483B-B1A3-B45CED6DFCDC@craigfrancis.co.uk> <55F6F08C.1020506@gmail.com> <0BEF6D82-CB5F-49F6-A3A4-3267924A0CDA@thesba.com> <55F72CA9.2060301@gmail.com> <09369945-76FE-4E08-9C2C-15FB0577AD27@thesba.com> <55F752E7.9070801@gmail.com> <55F9B4C7.3050700@gmail.com> <440C64A2-4B4F-4AEF-ACE3-F3A6637EBAB6@thesba.com> <55F9E5E7.3030408@gmail.com> <711C7F58-6187-4ED2-8314-EB217DF0EC2B@thesba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Thu, 17 Sep 2015 10:01:30 +0100 To: Robert Williams ,Stanislav Malyshev CC: internals Message-ID: Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: rowan.collins@gmail.com (Rowan Collins) On 17 September 2015 02:17:59 BST, Robert Williams wrote: > An unset variable is not null. Rather, it’s >completely undefined, and PHP yells at you for just that reason if you >try to access it. Then, it turns around and tries to appease you by >giving you null. I see it as rather the other way around: it happily gives you a null, but then says "oh, by the way, you never actually initialised that variable to null". Not an error, just a friendly aside.