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