Re: PHP 7.1 - Address PHPSadness #28?

From: Date: Wed, 26 Aug 2015 04:36:57 +0000
Subject: Re: PHP 7.1 - Address PHPSadness #28?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-87924@lists.php.net to get a copy of this message
Hi! > 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)? Not sure what the use case would be for this. For most practical purposes, isset/empty look completely fine. > 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. It is simple, but not everything that is simple should be done. Especially when we talking about adding core functions. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#87924) next »