Return to bug24897.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / array |
1.1 misho 1: --TEST-- 2: Bug #24897 (inconsistent behaviour or shuffle() & array_multisort()) 3: --FILE-- 4: <?php 5: $a = array(1 => 2); 6: shuffle($a); 7: var_dump($a); 8: 9: $a = array(1 => 2); 10: array_multisort($a); 11: var_dump($a); 12: ?> 13: --EXPECT-- 14: array(1) { 15: [0]=> 16: int(2) 17: } 18: array(1) { 19: [0]=> 20: int(2) 21: }