Re: Passing variables between functions
| From: | Andrei Zmievski | Date: | Wed, 21 Mar 2001 19:59:05 +0000 |
| Subject: | Re: Passing variables between functions | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1060@lists.php.net to get a copy of this message | ||
If you have local $entry declared as global, it means that it's already a
reference (to the global $entry variable), and by doing
$entry = &new GtkEntry();
you simply disassociate local $entry from global one and set it to
GtkEntry. Try doing this:
$entry = new GtkEntry();
-Andrei
* Unix is user friendly, it is just chooses its users selectively. *