mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Headers are sent in destructor (bug #32406)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182707 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a12038782a
commit
6db67b0b42
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<sect1 id="language.oop5.decon">
|
||||
<title>Constructors and Destructors</title>
|
||||
|
||||
|
@ -97,6 +97,12 @@ $obj = new MyDestructableClass();
|
|||
explicitly call <function>parent::__destruct</function> in the destructor
|
||||
body.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Destructor is called during the script shutdown so headers are always
|
||||
already sent.
|
||||
</para>
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
|
Loading…
Reference in a new issue