Edit report at https://bugs.php.net/bug.php?id=61442&edit=1
ID: 61442
Comment by: nikic@php.net
Reported by: yks-uno at yandex dot ru
Summary: exception threw in __autoload can not be catched
Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: Linux, FreeBSD
PHP Version: 5.3.10
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
@laruence: Shouldn't the ZEND_VM_CONTINUE() rather be a HANDLE_EXCEPTION()?
Previous Comments:
------------------------------------------------------------------------
[2012-09-19 11:52:45] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fd0b3ea663431b7adaedde11668fbc0b6ba07494
Log: Fixed bug #61442 (exception threw in __autoload can not be catched)
------------------------------------------------------------------------
[2012-09-19 11:51:41] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fd0b3ea663431b7adaedde11668fbc0b6ba07494
Log: Fixed bug #61442 (exception threw in __autoload can not be catched)
------------------------------------------------------------------------
[2012-09-19 11:41:30] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fd0b3ea663431b7adaedde11668fbc0b6ba07494
Log: Fixed bug #61442 (exception threw in __autoload can not be catched)
------------------------------------------------------------------------
[2012-09-19 10:37:21] yks-uno at yandex dot ru
That is what it was all about.
Again sorry for resentment, thanks for clearing things up.
------------------------------------------------------------------------
[2012-09-19 10:33:07] laruence@php.net
hmm, seems I thought wrongly,
try {
new AAAA();
} catch () {
}
can be catched in 5.3
but
try {
AAA:xxx();
}
can not be catched in 5.3, but can be catched in 5.4.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=61442--
Edit this bug report at https://bugs.php.net/bug.php?id=61442&edit=1