summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug47027.phpt
blob: e4f5aae9dd744fa377248389e15efe1d3178a777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #47027 (var_export doesn't show numeric indices on ArrayObject)
--FILE--
<?php
$ao = new ArrayObject(array (2 => "foo", "bar" => "baz"));
var_export ($ao);
?>
--EXPECT--
ArrayObject::__set_state(array(
   2 => 'foo',
   'bar' => 'baz',
))