Test: /ext/spl/tests/bug41528.phpt - Version 7.4.6-dev        

Bug #41528 Classes extending ArrayObject do not serialize correctly
Submitted: 2007-05-29 10:48:09 Modified: 2007-12-17 15:16:11
From: m.stach Assigned: davidc
Status: Closed Package: SPL related
PHP Version: 5.2.* OS: *

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
009+ Segmentation fault (core dumped) 010+ 011+ Termsig=11 009- object(ClassOne)#2 (2) { 010- ["a"]=> 011- int(1) 012- ["storage":"ArrayObject":private]=> 013- array(0) { 014- } 015- } 016- int(1)
1 (33%)
009+ 010+ Fatal error: Allowed memory size of 134217728 bytes exhausted at /home/travis/build/php/php-src/Zend/zend_string.h:133 (tried to allocate 17960381302687404992 bytes) in %s/bug41528.php on line 13 009- object(ClassOne)#2 (2) { 010- ["a"]=> 011- int(1) 012- ["storage":"ArrayObject":private]=> 013- array(0) { 014- } 015- } 016- int(1)