Re: variable_exists() patch

From: Date: Sat, 16 Aug 2003 22:39:38 +0000
Subject: Re: variable_exists() patch
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4033@lists.php.net to get a copy of this message
> A few weeks ago I submitted a patch in the bug db for a > variable_exists() construct, which parallels the function_exists() > one but for variables. In short, it returns TRUE if a variable > exists, regardless of its value. In other words, it's an isset() > which doesn't care if the variable's value is NULL. Nice work. However, if your application relies on unset variables to be distinguishable from variables that are null, you should probably fix your application first, and then consider 'fixing' the language. Ard

« previous php.internals (#4033) next »