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:
Jakub Vrana 2005-03-23 10:34:41 +00:00
parent a12038782a
commit 6db67b0b42

View file

@ -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>