Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88372 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74089 invoked from network); 19 Sep 2015 12:16:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2015 12:16:54 -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.174 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.174 mail-wi0-f174.google.com Received: from [209.85.212.174] ([209.85.212.174:37286] helo=mail-wi0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/B2-43089-5325DF55 for ; Sat, 19 Sep 2015 08:16:53 -0400 Received: by wicfx3 with SMTP id fx3so59142536wic.0 for ; Sat, 19 Sep 2015 05:16:50 -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 :message-id; bh=j6YjccYIsFh0BaiCgVsNPTGQbU3cj48UlpBJIXJizLs=; b=cDDoZe9DFp5qZp+Klni6G0qq1bdIrBkii1KKR5IZLk3O7/BZrRyxairPDgAr9aMDR4 HCxuRNr98SFHFn6m6Qin5wq+XSw9FjZPRxp8tkCADm/JwH3T9dgkvDJENYm9bHNSlZT+ uAaTSxivt5oLKn2jrmKng9sKMj/IeVvhGvYtdSM/xE8M04zmr9EvSLkv4q6Z/yhAFMFg vL3Qt7/KcuF7xjYxGRMANjeladPdWrPwIZdNrBfb8nJaxiKHvvDKU9/VllTzmS6zM60J S+pF27dirbUMFJ69vHtIqg1vE9B52EwxjPK4vpavc2X2q6CDiCVeCbyxpzX7ZHYIvIE8 Rt9w== X-Received: by 10.194.179.137 with SMTP id dg9mr12533716wjc.55.1442665010393; Sat, 19 Sep 2015 05:16:50 -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 fr10sm3048752wib.14.2015.09.19.05.16.49 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 19 Sep 2015 05:16:49 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <55FC8D53.3080904@lsces.co.uk> References: <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> <55FC45C7.9010202@gmail.com> <55FC4991.1050903@lsces.co.uk> <7872E9F4-AE19-4681-B2EF-215751AE4CBE@thesba.com> <55FC5A14.8020301@gmail.com> <55FC8D53.3080904@lsces.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Sat, 19 Sep 2015 13:15:41 +0100 To: Lester Caine ,internals@lists.php.net Message-ID: <93020C79-3920-4FC8-8B6B-F1D16C6C709C@gmail.com> Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: rowan.collins@gmail.com (Rowan Collins) On 18 September 2015 23:16:51 BST, Lester Caine wrote: > I don't >see any 'completely new type of code' ... only a different frame in >which the variables are held. It's "completely new" because you can't do it right now, that's all. I'm just trying to separate two different justifications for requesting this feature: some people are saying their current code is buggy because of some lack in the language, and that "thousands and millions of devs" encounter this; others, such as yourself, are saying that they would like to write code in a certain style, which the language doesn't currently allow. I have still seen absolutely no evidence of the former, most bugs apparently being due to poor adoption of array_key_exists; I am reasonably convinced by your use case being valid, even if it's not a style I'd choose. Every time you start talking about avoiding notices, and existing code, I therefore get confused - there is no code using exists() in order for it to be buggy! Regards, -- Rowan Collins [IMSoP]