What will be the output of the following PHP code?
<?php
$username = "jasoN";
if (ereg("([^a-z])",$username))
echo "Username must be all lowercase!";
else
echo "Username is all lowercase!";
?>
- Error
- Username must be all lowercase!
- Username is all lowercase!
- No Output is returned
(b).Username must be all lowercase
need an explanation for this answer? contact us directly to get an explanation for this answer