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