Re: RES: [PHP-GTK] PHP4 Object Issues.

From: Date: Tue, 02 Aug 2005 21:26:20 +0000
Subject: Re: RES: [PHP-GTK] PHP4 Object Issues.
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6125@lists.php.net to get a copy of this message
Piero Can you explain how the methods are called inside your program? 2005/8/2, Piero B. Contezini <piero@grupoamerican.com.br>: > If it is a global variable, i think this must assign the right content, > but it is inside a object, thats why i can't use the $GLOBALS array. > > > Piero. > > -----Mensagem original----- > De: Brian Stumm [mailto:bstumm@energytechnologysystems.com] > Enviada em: terça-feira, 2 de agosto de 2005 18:16 > Para: Piero B. Contezini > Assunto: Re: [PHP-GTK] PHP4 Object Issues. > > 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 > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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