Answer: Option 4
\\n - newline - printf("\\nab"); - Prints 'ab'
\\b - backspace - printf("\\bsi"); - firstly '\\b' removes 'b' from 'ab ' and then prints 'si'. So after execution...
Answer: Option 2
As the first option is matching, the cases are evaluated till the break statement is encountered or end of switch statement is encountered.
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),...