blob: d5acf9dada17eb379678b671af447be58ab95ab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--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';
}
|