summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/var_export.phpt
blob: 5c23ad267c109c225a71e52d137e04e2429d007b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
var_export() and objects with numeric indexes properties
--FILE--
<?php
$a = (object) array (1, 3, "foo" => "bar");
var_export($a);
?>
--EXPECT--
(object) array(
   '0' => 1,
   '1' => 3,
   'foo' => 'bar',
)