2002-10-11 13:49:20 +00:00
|
|
|
--TEST--
|
|
|
|
var_export() and objects with numeric indexes properties
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
$a = (object) array (1, 3, "foo" => "bar");
|
|
|
|
var_export($a);
|
|
|
|
?>
|
|
|
|
--EXPECT--
|
2005-10-17 14:38:12 +00:00
|
|
|
stdClass::__set_state(array(
|
|
|
|
'foo' => 'bar',
|
|
|
|
))
|