Lab #2 Exercise #11. Demonstrate how to return an array of random numbers from a function.
**************************************************************
CODES:
function random($input) {
$output = array_rand($input);
echo $output;
}
$testArray = array(3,5,6,3,4,76,4);
random($testArray);
**************************************************************
ANSWER:
4