RE: [PHP-DEV] parent_ctor()
| From: | Stanislav Malyshev | Date: | Mon, 17 Jul 2000 17:06:38 +0000 |
| Subject: | RE: [PHP-DEV] parent_ctor() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24795@lists.php.net to get a copy of this message | ||
AG>> it is more than historical reasons and is the right way) objects aren't
AG>> object handlers like in Java but are object themselves. Doing $obj1=$obj2;
Well, to be frank, destructors in Java are almost totally useless for
similiar reason - you never know when it's called if at all. But the cause
is different - Java uses another model of garbage collection.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665