mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
fb0efe79df
commit
30ecb30f1e
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue