array ("min_range"=>0, "max_range"=>256));if (!filter_var($"> What will be the output of the following PHP code?$var=300;$int_options = array( array ("min_range"=>0, "max_range"=>256));if (!filter_var($"> array ("min_range"=>0, "max_range"=>256));if (!filter_var($" /> array ("min_range"=>0, "max_range"=>256));if (!filter_var($" />
Sail E0 Webinar
Question
What will be the output of the following PHP code?$var=300;$int_options = array("options"=>array ("min_range"=>0, "max_range"=>256));if (!filter_var($var, FILTER_VALIDATE_INT, $int_options))echo("Integer is not valid");elseecho("Integer is valid");
Options:
A .  Error
B .  No output is returned
C .  Integer is not valid
D .  Integer is valid
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