Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88341 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85994 invoked from network); 18 Sep 2015 17:12:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2015 17:12:38 -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.180 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:38747] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/D4-60254-5064CF55 for ; Fri, 18 Sep 2015 13:12:38 -0400 Received: by wiclk2 with SMTP id lk2so39201150wic.1 for ; Fri, 18 Sep 2015 10:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=xo2nUtsw4J0kcIfEFW6JKlz2EbCMNzAZWiCNiG5a3oA=; b=ykWa/HWN8AQ4bUdIbwvJeJppaCpiSsIETwHzwCweSxvG8Bm15U1nZtEIBNWBP0ktLE 3ilCjWWSIMHFgyybfiX+3nZChXz/2u6yNBytsQvmSRWtim2BBUcgv8S7EEpEhw1JdWVh Er6vwj8b7v/qQiBmTs2ugbcdjVpN3u075upsovVFi/0l36x5skOD9D9mXaUIGA98/TwV kpKRP8xNDH85AOPaOIIq7jrRirkhQz5mibXU4xjC30hyYe76lBMcbgCrOSIsaJyHtkkt /UodQ04EWMlvAfr1+d6RK+L49TmF/k7iXlp5asaC1gY8ZrGH2tQ3fs1HefaKEGNMBjAz PM6w== X-Received: by 10.194.122.66 with SMTP id lq2mr8466856wjb.156.1442596354809; Fri, 18 Sep 2015 10:12:34 -0700 (PDT) Received: from [192.168.0.127] ([62.189.198.114]) by smtp.googlemail.com with ESMTPSA id s16sm16487562wik.13.2015.09.18.10.12.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 10:12:34 -0700 (PDT) To: internals@lists.php.net References: <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> <55F9D704.5050002@lsces.co.uk> <55F9EFA2.9020908@lsces.co.uk> <0022A1D9-DC37-4F49-B58E-FBED5AF872BA@gmail.com> <55F9FAB3.2050100@lsces.co.uk> <55FB19CB.7080707@gmail.com> <55FB3117.5040204@lsces.co.uk> <55FB3A60.1040601@gmail.com> <55FB4270.7000204@lsces.co.uk> <55FB4969.7080600@gmail.com> <55FB5BA6.6050606@lsces.co.uk> <55FBF265.5000502@gmail.com> <55FBF7B7.4050603@lsces.co.uk> <55FC1A77.7090406@gmail.com> <55FC221A.7020108@lsces.co.uk> <55FC2588.6030809@gmail.com> <55FC2B17.3070909@lsces.co.uk> <55FC2F2F.9060403@gmail.com> <55FC33F1.3090903@lsces.co.uk> <55FC354B.5070209@gmail.com> <55FC39B2.5070005@lsces.co.uk> Message-ID: <55FC45C7.9010202@gmail.com> Date: Fri, 18 Sep 2015 18:11:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55FC39B2.5070005@lsces.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: rowan.collins@gmail.com (Rowan Collins) Lester Caine wrote on 18/09/2015 17:20: > On 18/09/15 17:01, Rowan Collins wrote: >> Right, so stop talking about Notices. Ignoring Notices does not get you >> any closer to that goal. >> >> And stop lecturing me about Nulls. The is_null($foo) part of that is the >> part that already works fine. > ONLY if $foo actually exists! Yes, I get it. Honestly, I do. It has nothing to do with me not understanding nulls, and nothing to do with any need to silence notices. > You don't want to disable expand() so the next step is handling the > results of importing variables for which null is a valid state but > equally their NOT having been created is equally valid. Sure, extract() allows you to do half the trick you want to do, and exists() would allow you to do the other half. There's a logical jump from there to "if you're not going to give me exists(), you might as well take away extract()". It's like saying "I have some cheese, but no bread; if you gave me some bread, I could make a cheese sandwich; if you're not going to give me the bread, please take away the cheese". My answer amounts to "why don't you have cheese and crackers instead, we've got plenty of those?" Regards, -- Rowan Collins [IMSoP]