1--TEST--
2Modifications to ArrayObjects should not affect shared properties tables
3--FILE--
4<?php
5
6$obj = (object)['a' => 1, 'b' => 2];
7$ao = new ArrayObject($obj);
8$arr = (array) $obj;
9$ao['a'] = 42;
10var_dump($arr);
11
12?>
13--EXPECT--
14array(2) {
15  ["a"]=>
16  int(1)
17  ["b"]=>
18  int(2)
19}
20