Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87919 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96809 invoked from network); 26 Aug 2015 03:13:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2015 03:13:48 -0000 Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain paragonie.com from 209.85.212.173 cause and error) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:38027] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/E0-23604-9EE2DD55 for ; Tue, 25 Aug 2015 23:13:46 -0400 Received: by wicja10 with SMTP id ja10so2298737wic.1 for ; Tue, 25 Aug 2015 20:13:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ttfV/mdQxlJaD6/i2mc84CB/k4uN2vdnnwe/A5a9gQk=; b=DgMKs4b2l63eT5csL5uepMKkagn8khHCKpYwZ52wAVF2O+hqWha7crQ2+keyH9XsEq 7D+rHuIJrLOFU4QcwmEAXYd1vnq2m6vkoFYE8fkj1byoj2apxUSyqDbbFqCF2pjt5UFH 25+1AoZXWRwg29VuK0LQH2T0j+hlxDughijZdnsem4S1rRNuDvdqhsj8kyLPpqv6c5f8 XgfT9IVj6NM1OBSY1rlVOTREYD5QljDrPH6WTES1cvI5uN4tb8KR1T+o0KLKslF89iwM OUFvoCF9vUcPThQNculcbU4frf9ldd2rgYSw2sZOP7YcCNxu7zvPs5ilm8D+tfgazGne lARw== X-Gm-Message-State: ALoCoQninza3x15NEi8TCyHG7+erZnjXm+ZoowtA7BILTPqTAGudr+tfwLWXkIAOvwhIWAnXHg60 MIME-Version: 1.0 X-Received: by 10.194.52.105 with SMTP id s9mr54997418wjo.53.1440558822602; Tue, 25 Aug 2015 20:13:42 -0700 (PDT) Received: by 10.28.133.67 with HTTP; Tue, 25 Aug 2015 20:13:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Aug 2015 23:13:42 -0400 Message-ID: To: Sherif Ramadan Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: scott@paragonie.com (Scott Arciszewski) On Tue, Aug 25, 2015 at 11:11 PM, Sherif Ramadan wrote: > 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 >> > http://phpsadness.com/sad/28 https://3v4l.org/2vrKG Not quite. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises