Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //return a random index from an array
- $random_index = rand( ) % sizeof(some_array);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement