- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Parse error: syntax error, unexpected ',' in /in/DHQjn on line 11
Process exited with code 255.
<?php
function func($c, $d)
{
$result = array_search($d, $c);
if (result !== false) {
return $result;
}
}
$c=(1,2,4,8,18,20,33,66,99);
echo func($c, 19);