[ create a new paste ] login | about

Link: http://codepad.org/AEShz7iP    [ raw code | output | fork ]

PHP, pasted on Sep 30:
1
2
3
4
5
6
7
8
9
10
11
12
<?php
$participants = array(
'Juliecolinsixty',
'RedacteurDuWeb',
'dakarseo',
'sapkoutch',
'clementdesmouss');

shuffle($participants);

echo 'Le gagnant est : '.$participants[1]
?>


Output:
1
Le gagnant est : clementdesmouss


Create a new paste based on this one


Comments: