ID:               31102
 Comment by:       nico at epicube dot com
 Reported By:      php_nospam at ramihyn dot sytes dot net
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: *
 PHP Version:      5.0.2
 Assigned To:      helly
 New Comment:

Honestly I think it's totally illogical to make an exception
uncatchable just to make it throw a misleading "Uncaught exception"
error. Why not just throw a more meaningful fatal error (which is
uncatchable anyway) and leave the try-catch concept of exceptions
intact?


Previous Comments:
------------------------------------------------------------------------

[2005-04-24 14:53:03] rowanjl at gmail dot com

I've been working on a system that uses exceptions to write to the log
file, it would be useful to be able to log these erros and display a
nicer message to the browser.

The reasons for not fixing this bug are weak.

------------------------------------------------------------------------

[2005-03-25 18:51:39] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to