Re: PHP4 Object Issues.

From: Date: Tue, 02 Aug 2005 21:17:28 +0000
Subject: Re: PHP4 Object Issues.
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6123@lists.php.net to get a copy of this message
Perhaps this is your problem.... If you would like to unset() a global variable inside of a function, you can use the $GLOBALS array to do so: <?php function foo() { unset($GLOBALS['bar']); } $bar = "something"; foo(); ?> See http://php.net/unset "Piero B. Contezini" wrote: > Know it seems to be really a PHP bug, > -- Brian Stumm ETS - Energy Technology Systems, Inc bstumm@energytechnologysystems.com http://energytechnologysystems.com

« previous php.gtk.general (#6123) next »