mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
12 lines
206 B
PHP
12 lines
206 B
PHP
--TEST--
|
|
var_export() and objects with numeric indexes properties
|
|
--FILE--
|
|
<?php
|
|
$a = (object) array (1, 3, "foo" => "bar");
|
|
var_export($a);
|
|
?>
|
|
--EXPECT--
|
|
stdClass::__set_state(array(
|
|
'foo' => 'bar',
|
|
))
|