

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code?<?php$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");?> |
A. | o output is returned |
B. | nteger is not valid |
C. | nteger is valid |
D. | rror |
Answer» C. nteger is valid | |