Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function roll_dices()
- {
- $one=rand(1, 6);
- $two=rand(1, 6);
- $three=rand(1, 6);
- $four=rand(1, 6);
- $five=rand(1, 6);
- $result="$one*$two*$three*$four*$five";
- $apa123=array();
- array_push($apa123, $one);
- return $apa123;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement