mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Throwing exceptions from destructors is not allowed (bug #33598)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194573 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ee03d7c8ef
commit
25af2e1607
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<sect1 id="language.oop5.decon">
|
||||
<title>Constructors and Destructors</title>
|
||||
|
||||
|
@ -103,6 +103,11 @@ $obj = new MyDestructableClass();
|
|||
already sent.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
Attempting to throw an exception from a desctructor causes a fatal error.
|
||||
</para>
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
|
Loading…
Reference in a new issue