mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
13 lines
252 B
Plaintext
13 lines
252 B
Plaintext
|
--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',
|
||
|
))
|