Test: /ext/standard/tests/serialize/bug45706.phpt - Version 5.4.0RC8-dev        

Bug #45706 Serializing of ArrayIterator extended Objects
Submitted: 2008-08-04 12:20:45 Modified: 2008-08-31 23:13:48
From: bobka Assigned: colder
Status: Closed Package: SPL related
PHP Version: 5.2.6 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
6 (100%)
001+ Warning: unserialize(): Function spl_autoload_call() hasn't defined the class it was called for in %s/bug45706.php on line 10
002+
002- array(2) {
003- [0]=>
004- object(__PHP_Incomplete_Class)#%d (1) {
005- ["__PHP_Incomplete_Class_Name"]=>
006- string(4) "Bar1"
007- }
008- [1]=>
009- object(__PHP_Incomplete_Class)#%d (1) {
010- ["__PHP_Incomplete_Class_Name"]=>
011- string(4) "Bar2"
004+
005+ Warning: unserialize(): defined (spl_autoload_call) but not found in %s/bug45706.php on line 10
006+
007+ Fatal error: Uncaught exception 'LogicException' with message 'Class Bar1 could not be loaded' in %s/bug45706.php:10
008+ Stack trace:
009+ #0 [internal function]: spl_autoload('Bar1')
010+ #1 [internal function]: spl_autoload_call('Bar1')
011+ #2 %s/bug45706.php(10): unserialize('a:2:{i:0;C:4:"B...')
012+ #3 {main}
013+ thrown in %s/bug45706.php on line 10
012- }
013- }