Q. What will be the output of the following PHP code?
Code:
$name = "ruCHiSharma";
if (ereg("([^a-z])",$name))
echo "Name must be all lowercase!";
else
echo "Name is all lowercase!";
?>
β
Correct Answer: (C)
Name must be all lowercase!