What will be the output of the following PHP code?

🎲 Try a Random Question  |  Total Questions in Quiz: 18  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
PHP Programming Basics Practice Test: Strings And Regular Expression in PHP — practice the complete quiz, review flashcards, or try a random question.

In PHP, regular expressions are strings that contain delimiters, a pattern, and optional modifiers. For example, /fatskills/i is a regular expression that contains the delimiter /, the pattern fatskills, and the modifier i, which makes the search case-insensitive.   Here are some things to keep in mind about regular expressions in PHP: The delimiter can be any character that is not a letter, number, backslash, or space. The forward slash (/) is the most common delimiter, but you can use other delimiters like # or ~ when your pattern contains forward slashes. The expression is contained... Show more

What will be the output of the following PHP code?<br><?php<br>$username = "jasoN";<br>if (ereg("([^a-z])",$username))<br>echo "Username must be all lowercase!";<br>else<br>echo "Username is all lowercase!";<br>?>