mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Random destruction in shutdown (bug #38572)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241460 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f4df823bb9
commit
b1a96e7a90
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<sect1 xml:id="language.oop5.decon" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Constructors and Destructors</title>
|
||||
|
||||
|
@ -68,7 +68,7 @@ $obj = new SubClass();
|
|||
PHP 5 introduces a destructor concept similar to that of other
|
||||
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.
|
||||
the object is explicitly destroyed or in any order in shutdown sequence.
|
||||
</para>
|
||||
<example>
|
||||
<title>Destructor Example</title>
|
||||
|
|
Loading…
Reference in a new issue