php[world] 2017

Voting

Please answer this simple SPAM challenge: nine minus one?
(Example: nine)

The Note You're Voting On

nospamplease at mail dot com
3 years ago
Random choice with a closure.

$randomChoice  = function($array) {return $array[array_rand($array)];};

$names = ['Dexter', 'Esther', 'David', 'Richard', 'Rachel', 'Belinda'];

echo $randomChoice($names);

<< Back to user notes page

To Top