Creating Objects!
| From: | Webmaster | Date: | Tue, 23 Sep 2003 10:44:55 +0000 |
| Subject: | Creating Objects! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-163563@lists.php.net to get a copy of this message | ||
HI,
let us say there is Class A.
In the constructor of this class I create an Object B of Class B.
Now what is the difference between these two ?
this->B = new B;
and
B = new B;
Thank you very much!
Wenmaster