What will be the output of the following PHP code?
What will be the output of the following PHP code? Correct Answer Username must be all lowercase!
Answer: Option 2
Because the provided username is not all lowercase, ereg() will not return FALSE (instead returning the length of the matched string, which PHP will treat as TRUE), causing the message to output.
মোঃ আরিফুল ইসলাম
Feb 20, 2025