1--TEST--
2Clone ArrayObject using other with STD_PROP_LIST
3--FILE--
4<?php
5
6$a = new ArrayObject([1, 2, 3], ArrayObject::STD_PROP_LIST);
7$b = new ArrayObject($a);
8$c = clone $b;
9var_dump($c);
10
11?>
12--EXPECT--
13object(ArrayObject)#3 (1) {
14  ["storage":"ArrayObject":private]=>
15  array(3) {
16    [0]=>
17    int(1)
18    [1]=>
19    int(2)
20    [2]=>
21    int(3)
22  }
23}
24