---TEST--\r
-Bug #77298 (segfault occurs when add property to unserialized ArrayObject)\r
---FILE--\r
-<?php\r
-$o = new ArrayObject();\r
-$o2 = unserialize(serialize($o));\r
-$o2[1]=123;\r
-var_dump($o2);\r
-\r
-$o3 = new ArrayObject();\r
-$o3->unserialize($o->serialize());\r
-$o3['xm']=456;\r
-var_dump($o3);\r
---EXPECT--\r
-object(ArrayObject)#2 (1) {\r
- ["storage":"ArrayObject":private]=>\r
- array(1) {\r
- [1]=>\r
- int(123)\r
- }\r
-}\r
-object(ArrayObject)#3 (1) {\r
- ["storage":"ArrayObject":private]=>\r
- array(1) {\r
- ["xm"]=>\r
- int(456)\r
- }\r
-}
\ No newline at end of file
+--TEST--
+Bug #77298 (segfault occurs when add property to unserialized ArrayObject)
+--FILE--
+<?php
+$o = new ArrayObject();
+$o2 = unserialize(serialize($o));
+$o2[1]=123;
+var_dump($o2);
+
+$o3 = new ArrayObject();
+$o3->unserialize($o->serialize());
+$o3['xm']=456;
+var_dump($o3);
+--EXPECT--
+object(ArrayObject)#2 (1) {
+ ["storage":"ArrayObject":private]=>
+ array(1) {
+ [1]=>
+ int(123)
+ }
+}
+object(ArrayObject)#3 (1) {
+ ["storage":"ArrayObject":private]=>
+ array(1) {
+ ["xm"]=>
+ int(456)
+ }
+}