Return to bug47027.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 ! misho 1: --TEST-- ! 2: Bug #47027 (var_export doesn't show numeric indices on ArrayObject) ! 3: --FILE-- ! 4: <?php ! 5: $ao = new ArrayObject(array (2 => "foo", "bar" => "baz")); ! 6: var_export ($ao); ! 7: ?> ! 8: --EXPECT-- ! 9: ArrayObject::__set_state(array( ! 10: 2 => 'foo', ! 11: 'bar' => 'baz', ! 12: ))