Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87918 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95374 invoked from network); 26 Aug 2015 03:12:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2015 03:12:01 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.51 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.215.51 mail-la0-f51.google.com Received: from [209.85.215.51] ([209.85.215.51:34918] helo=mail-la0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/90-23604-08E2DD55 for ; Tue, 25 Aug 2015 23:12:01 -0400 Received: by labgv11 with SMTP id gv11so43111236lab.2 for ; Tue, 25 Aug 2015 20:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BITPHopWeHEKzDVX89zAf1DDhfP3KEwQFhe582Wk7eU=; b=Ecg84CM8TLDiGNtGOKdKVLhjd2dQJvv/UszMK19uRc3tyL/i0sUyaScF0Y9/uwoFqK M5hxEEgUqco+g7+5B9rxVggL5Y/kds1S/63TKL7l58GtaCdwlvsDS8zAg+o2oKZBRoHL jnH3oQk3jRnOmWUo0LIRE9RjoaGjxDaptQoG9bqr8mMgbTgmQ8aFL4tKDNdNtT/BsLg+ L9SSBTGPbTN2p0DaolgqMQiY0Cok7/B9SZiprAS0Th26MO0+Dx+Mvfxido1K02dEYHDz YWV3XBkS5EMmhiy52SW8SidVwqyAIR01AcW/i+KurAfdNGRr4AdZWIwfiNtnArKqA6Y1 j9cQ== MIME-Version: 1.0 X-Received: by 10.152.2.200 with SMTP id 8mr28896632law.115.1440558717465; Tue, 25 Aug 2015 20:11:57 -0700 (PDT) Received: by 10.25.200.196 with HTTP; Tue, 25 Aug 2015 20:11:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Aug 2015 23:11:57 -0400 Message-ID: To: Scott Arciszewski Cc: PHP Internals Content-Type: multipart/alternative; boundary=089e0112c2e0a1fdbf051e2e3601 Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: theanomaly.is@gmail.com (Sherif Ramadan) --089e0112c2e0a1fdbf051e2e3601 Content-Type: text/plain; charset=UTF-8 That's exactly what isset() does. isset/empty never raise errors. On Tue, Aug 25, 2015 at 11:09 PM, Scott Arciszewski wrote: > Hi everybody, > > Would anyone be interested in adding another helper like > isset()/empty() simply called exists() which would return true if the > variable is defined in the current scope (i.e. without raising an > E_NOTICE)? > > It should be a simple change to add this function but it's too late > for 7.0 so, if there is any interest, I would respectfully put it off > until 7.1. > > Scott Arciszewski > Chief Development Officer > Paragon Initiative Enterprises > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e0112c2e0a1fdbf051e2e3601--