Re: PHP 7.1 - Address PHPSadness #28?
| From: | Scott Arciszewski | Date: | Wed, 26 Aug 2015 03:13:42 +0000 |
| Subject: | Re: PHP 7.1 - Address PHPSadness #28? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87919@lists.php.net to get a copy of this message | ||
On Tue, Aug 25, 2015 at 11:11 PM, Sherif Ramadan
<theanomaly.is@gmail.com> wrote:
> That's exactly what isset() does. isset/empty never raise errors.
>
> On Tue, Aug 25, 2015 at 11:09 PM, Scott Arciszewski <scott@paragonie.com>
> 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
>> <https://paragonie.com>
>>
>> --
>> 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 <https://paragonie.com>