#31102 [Ver->Csd]: Exception not handled when thrown inside __autoload()
| From: | nicobn@php.net | Date: | Sat, 21 Jul 2007 18:07:14 +0000 |
| Subject: | #31102 [Ver->Csd]: Exception not handled when thrown inside __autoload() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377095@lists.php.net to get a copy of this message | ||
ID: 31102
Updated by: nicobn@php.net
Reported By: php_nospam at ramihyn dot sytes dot net
-Status: Verified
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Closed the bug, as it is explicitly stated in the documentation that
exceptions thrown into __autoload() cannot be caught.
Previous Comments:
------------------------------------------------------------------------
[2006-04-12 21:11:55] bjori@php.net
I honestly can't think of better example, but I guess it's better than
nothing?
http://php.is/bugs/31102/phpdoc.patch.txt
------------------------------------------------------------------------
[2005-03-25 18:51:39] nlopess@php.net
helly has introduced a way to catch the exceptions, so it needs to be
documented. (more details in the file he mentioned)
------------------------------------------------------------------------
[2005-03-21 21:49:37] helly@php.net
For further details on exceptions in __autoload() see:
http://cvs.php.net/co.php/ZendEngine2/tests/bug31102.phpt?r=HEAD
------------------------------------------------------------------------
[2004-12-29 17:15:59] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
"Exceptions thrown in __autoload function cannot be catched in the
'catch' block and result in fatal error."
------------------------------------------------------------------------
[2004-12-16 13:04:08] derick@php.net
hehe, perhaps. But we should mention this in the __autoload
documentation though.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31102
--
Edit this bug report at http://bugs.php.net/?id=31102&edit=1