Bug #60102 [Opn]: Incorrect behaviour when throwing an exception from __wakeup/autloading.

From: Date: Thu, 20 Oct 2011 12:00:42 +0000
Subject: Bug #60102 [Opn]: Incorrect behaviour when throwing an exception from __wakeup/autloading.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-164471@lists.php.net to get a copy of this message
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

« previous php.bugs (#164471) next »