Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $table = ['a', 'b', 'c', 'd', 'e'];
- $index = rand(0, 1000) % 5;
- $val = $table[$index];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement