mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
13 lines
252 B
PHP
13 lines
252 B
PHP
--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',
|
|
))
|