I am trying to understand the ArrayObject::STD_PROP_LIST const, As it defined at the manual:
Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).
I write this code:
$array = array(5,7,9,3,6,5,4);
$arrayObj = new ArrayObject($array);
var_dump($arrayObj);
$arrayObj2 = new ArrayObject($arrayObj->getArrayCopy(), ArrayObject::STD_PROP_LIST);
var_dump($arrayObj2);
At the first var_dump we can see the array elements but at the second var_dump you can't see them, I also tested foreach and the foreach loop work for both arrayObj object and arrayObj2 object.
If can some one please explain to me what is normal functionality and why the second var_dump elements is not presented, Thank you all and have a nice day.