Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3892 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36499 invoked from network); 13 Aug 2003 22:27:07 -0000 Received: from unknown (HELO pd4mo2so.prod.shaw.ca) (24.71.223.10) by pb1.pair.com with SMTP; 13 Aug 2003 22:27:07 -0000 Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HJK00L96WZP66@l-daemon> for internals@lists.php.net; Wed, 13 Aug 2003 16:26:13 -0600 (MDT) Received: from pn2ml1so.prod.shaw.ca (pn2ml1so-qfe0.prod.shaw.ca [10.0.121.145]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HJK00JO0WZP26@l-daemon> for internals@lists.php.net; Wed, 13 Aug 2003 16:26:13 -0600 (MDT) Received: from h24-84-221-8.vc.shawcable.net (h24-84-221-8.vc.shawcable.net [24.84.221.8]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HJK00E9YWZOOM@l-daemon> for internals@lists.php.net; Wed, 13 Aug 2003 16:26:13 -0600 (MDT) Date: Wed, 13 Aug 2003 15:25:41 -0700 To: internals@lists.php.net Message-ID: <1060813541.901.336.camel@ali> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-type: text/plain Content-transfer-encoding: 7BIT Subject: variable_exists() patch From: torben@php.net (Lars Torben Wilson) 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. 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 +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 ====-----