Java has no destructors!

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167594 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Aidan Lister 2004-08-29 21:58:48 +00:00
parent fb0efe79df
commit 30ecb30f1e

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<sect1 id="language.oop5.decon">
<title>Constructors and Destructors</title>
@ -66,7 +66,7 @@ $obj = new SubClass();
</methodsynopsis>
<para>
PHP 5 introduces a destructor concept similar to that of other
object-oriented languages, such as Java. The destructor method will be
object-oriented languages, such as C++. The destructor method will be
called as soon as all references to a particular object are removed or when
the object is explicitly destroyed.
</para>