diff --git a/language/oop5/decon.xml b/language/oop5/decon.xml index 89164afe57..958a60079f 100644 --- a/language/oop5/decon.xml +++ b/language/oop5/decon.xml @@ -1,5 +1,5 @@ - + Constructors and Destructors @@ -97,6 +97,12 @@ $obj = new MyDestructableClass(); explicitly call parent::__destruct in the destructor body. + + + Destructor is called during the script shutdown so headers are always + already sent. + +