Newbie constructor question
| From: | Barry Mitchelson | Date: | Tue, 06 Mar 2001 11:04:12 +0000 |
| Subject: | Newbie constructor question | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-385@lists.php.net to get a copy of this message | ||
Hi,
first of all I'd like to say that this project is very interesting :) and I will be following
it pretty closely.. but I have 1 (i guess, simple question) :
why do the constructors have to be assigned by reference ?
ie why
$window = &new GtkWindow();
rather than
$window = new GtkWindow();
?
thanks,
Barry
--
http://www.theshining.org
current stats :
11:00am up 1:35, 2 users, load average: 0.14, 0.51, 0.70