Sail E0 Webinar
Question
What will be the output of the following PHP code?$num = "123";if (!filter_var($num, FILTER_VALIDATE_INT))echo("Integer is not valid");elseecho("Integer is valid");
Options:
A .  Integer is not valid
B .  Error
C .  Integer is valid
D .  No output is returned
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers