For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2005 > cvs: phpdoc /en/language/oop5 decon.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/language/oop5 decon.xml
Jakub Vrana

2005-08-29, 6:56 pm

vrana Mon Aug 29 11:58:53 2005 EDT

Modified files:
/phpdoc/en/language/oop5 decon.xml
Log:
Throwing exceptions from destructors is not allowed (bug #33598)

http://cvs.php.net/diff.php/phpdoc/....9&r2=1.10&ty=u
Index: phpdoc/en/language/oop5/decon.xml
diff -u phpdoc/en/language/oop5/decon.xml:1.9 phpdoc/en/language/oop5/decon.xml:1.10
--- phpdoc/en/language/oop5/decon.xml:1.9 Wed Mar 23 05:34:41 2005
+++ phpdoc/en/language/oop5/decon.xml Mon Aug 29 11:58:52 2005
@@ -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 @@
already sent.
</para>
</note>
+ <note>
+ <para>
+ Attempting to throw an exception from a desctructor causes a fatal error.
+ </para>
+ </note>
</sect2>

</sect1>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com