mirror of
https://github.com/php/php-src.git
synced 2024-10-22 16:57:05 +00:00
12 lines
197 B
PHP
12 lines
197 B
PHP
--TEST--
|
|
var_export() and objects with numeric indexes properties
|
|
--FILE--
|
|
<?php
|
|
$a = (object) array (1, 3, "foo" => "bar");
|
|
var_export($a);
|
|
?>
|
|
--EXPECT--
|
|
class stdClass {
|
|
public $foo = 'bar';
|
|
}
|