Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $hash2 = hexdec(substr('e83eep8b2296550693a684ea93b0193b1479c25f8j990abd943e0j538ec915b2',0,16));
- $arr = array(0,1,2,3,4);
- mt_srand($hash2);
- $order = array_map(create_function('$val', 'return mt_rand();'), range(1, count($arr)));
- array_multisort($order, $arr);
- echo $arr[0];
- echo $arr[1];
- echo $arr[2];
- echo $arr[3];
- echo $arr[4];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement