object(stdClass)#1 (2) {
["key1"]=>
string(6) "value1"
["key2"]=>
string(6) "value2"
}
array(2) {
["key1"]=>
string(6) "value1"
["key2"]=>
string(6) "value2"
}
value1value2value1value2
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /in/1dZLv:18
Stack trace:
#0 {main}
thrown in /in/1dZLv on line 18
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
object(stdClass)#1 (2) {
["key1"]=>
string(6) "value1"
["key2"]=>
string(6) "value2"
}
array(2) {
["key1"]=>
string(6) "value1"
["key2"]=>
string(6) "value2"
}
value1value2value1value2
Fatal error: Cannot use object of type stdClass as array in /in/1dZLv on line 18
Process exited with code 255.