A
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!";
?>
if (ereg("([^a-z])",$name))
echo "Name must be all lowercase!";
else
echo "Name is all lowercase!";
?>
- Correct Answer - Option(C)
- Views: 15
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.