Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88282 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25887 invoked from network); 17 Sep 2015 12:53:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Sep 2015 12:53:30 -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.177 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.177 mail-wi0-f177.google.com Received: from [209.85.212.177] ([209.85.212.177:35209] helo=mail-wi0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/B3-33947-9C7BAF55 for ; Thu, 17 Sep 2015 08:53:29 -0400 Received: by wicge5 with SMTP id ge5so117450676wic.0 for ; Thu, 17 Sep 2015 05:53:26 -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=1BdCBuWaGhjM2BqQhdwq0KIZE+zegPc9EK/bvb3evRE=; b=amSbBAOiBAtq6mCBDpIw4E79l7nBE6Q07CjUSB/I0d3m1c1RLeMZPg0YcXFC0eiv9F kSfIw9ySQBk2gKQ7Ypv8QL8s+lzkL8SiEu4WrzC7UwPe1pXWmmBL8KBcJVnKB1lltnwt lH+dNF85poFwtPvY/sx1hjneBzkhGiCEur73k8FCz2TtO0JzBZ/8+ajgCwE41OBbTZ0C +x0m3XdBDeaXgLbTNa/4nU6dvC+TZzxmqdXkKkg1X4uL0ehx48WpdunNGl4/rMJ75aZ0 sewR9MGutSS5DVgUNFnS+lA9EuSk6OgFERGHEOHU1oyo2Qw6A0vBiwikIBgcGrgTAAwC Nv0g== X-Received: by 10.194.52.106 with SMTP id s10mr60389105wjo.35.1442494406706; Thu, 17 Sep 2015 05:53:26 -0700 (PDT) Received: from [192.168.0.127] ([62.189.198.114]) by smtp.googlemail.com with ESMTPSA id ht5sm9970203wib.10.2015.09.17.05.53.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Sep 2015 05:53:25 -0700 (PDT) To: internals@lists.php.net References: <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> Message-ID: <55FAB790.9020905@gmail.com> Date: Thu, 17 Sep 2015 13:52:32 +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: 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) Terry Cullen wrote on 17/09/2015 13:41: > Here is an example where exists would be useful; You answered your own request: > // I should have used property_exists() instead of isset().. wasn't > expecting a null.. We already have that function, so that's alright then! :) As I've said several times, we need to improve documentation around this, but "I didn't find the existing function, so I need a new function which will be no easier to find and won't work in most people's environments" is a pretty weak argument in favour of a language change.