Re: variable_exists() patch

From: Date: Thu, 14 Aug 2003 13:18:11 +0000
Subject: Re: variable_exists() patch
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3930@lists.php.net to get a copy of this message
"Lars Torben Wilson" <torben@php.net> a écrit dans le message de news:1060813541.901.336.camel@ali... > Hi out there, > > 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. Hmm, I thought a variable is set even if its value is NULL? Are you sure we want this patch? > > The bug report and a link to the patch is here: > > http://bugs.php.net/bug.php?id=24274&edit=1 > > Just mentioning it because I don't know whether it's good enough to > go in, but users have emailed me to ask why it hasn't been included. > If I've screwed up with the patch, a quick note as to what was wrong > would be great. > > > Thanks, > > Torben > > > -- > Torben Wilson <torben@php.net> +1.604.709.0506 > http://www.thebuttlesschaps.com > http://www.inflatableeye.com > http://www.hybrid17.com > http://www.themainonmain.com > -----==== Boycott Starbucks! http://www.haidabuckscafe.com > ====----- > > > -- Regards. M.CHAILLAN Nicolas nicos@php.net www.WorldAKT.com Hébergement de sites internets.

« previous php.internals (#3930) next »