Correction/Suggestion for PHP 5 manual
| From: | lenng81 at optusnet dot com dot au | Date: | Wed, 29 Sep 2004 03:31:13 +0000 |
| Subject: | Correction/Suggestion for PHP 5 manual | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969364322@lists.php.net to get a copy of this message | ||
http://au2.php.net/manual/en/language.oop5.decon.php
In talking about destructors, Java doesn't have destructors as suggested in this
document. It has finalizers (similar to destructors) but they are not necessarily run
when the object loses all references to it, rather when (or if) the garbage collector
runs. A more suitable example would be C++ as this example has the potential to
confuse beginners.
Glenn Crook