Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62419 invoked from network); 14 Aug 2003 15:42:27 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 14 Aug 2003 15:42:27 -0000 Received: (qmail 22065 invoked from network); 14 Aug 2003 15:42:25 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 14 Aug 2003 15:42:25 -0000 Message-ID: <5.1.0.14.2.20030814184144.038a5810@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 14 Aug 2003 18:42:13 +0300 To: ,internals@lists.php.net In-Reply-To: <20030814131812.18761.qmail@pb1.pair.com> References: <1060813541.901.336.camel@ali> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: variable_exists() patch From: andi@zend.com (Andi Gutmans) I am not really convinced either that variable_exists() is=20 function_exists() parallel. Under what circumstances is this needed? Andi At 03:18 PM 8/14/2003 +0200, nicos@php.net wrote: >"Lars Torben Wilson" a =E9crit 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=3D24274&edit=3D1 > > > > 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 +1.604.709.0506 > > http://www.thebuttlesschaps.com http://www.inflatableeye.com > > http://www.hybrid17.com http://www.themainonmain.com > > -----=3D=3D=3D=3D Boycott Starbucks! http://www.haidabuckscafe.com= =3D=3D=3D=3D----- > > > > > > > >-- >Regards. >M.CHAILLAN Nicolas >nicos@php.net >www.WorldAKT.com H=E9bergement de sites internets. > > > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php