Return to var_export.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / array |
1.1 misho 1: --TEST-- 2: var_export() and objects with numeric indexes properties 3: --FILE-- 4: <?php 5: $a = (object) array (1, 3, "foo" => "bar"); 6: var_export($a); 7: ?> 8: --EXPECT-- 9: stdClass::__set_state(array( 10: 0 => 1, 11: 1 => 3, 12: 'foo' => 'bar', 13: ))