Edit report at https://bugs.php.net/bug.php?id=60102&edit=1
ID: 60102 User updated by: arjen at react dot com Reported by: arjen at react dot com Summary: Incorrect behaviour when throwing an exception from __wakeup/autloading. Status: Open Type: Bug Package: *General Issues Operating System: CentOS 5.6 PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: Testscript available @ http://home.react.com/~arjen/testcase.tar.gz Because of multiple files. Previous Comments: ------------------------------------------------------------------------ [2011-10-20 11:57:20] arjen at react dot com Description: ------------ When unserializing an object Wakeup with an member b object which throws an exception in __wakeup, the autoloading of member e of type e extends d fails. The thrown exception is also non-catchable. Expected result: ---------------- loading Wakeup loaded Wakeup: 1 loading B loaded B: 1 loading E loading D loaded D: 1 loading E: 1 fail Actual result: -------------- loading Wakeup loaded Wakeup: 1 loading B loaded B: 1 loading E loading D loaded D: 1 Fatal error: Uncaught exception 'Exception' in testcase/B.php on line 5 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60102&edit=1