MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code?<?php$n=256;$int_opt = array("opt"=>array ("min"=>0, "max"=>256));if (!filter_var($n, FILTER_VALIDATE_INT, $int_opt))echo("Given Integer is not valid");elseecho("Given Integer is valid");?> |
| A. | Given Integer is valid |
| B. | Error |
| C. | Given Integer is not valid |
| D. | Nothing |
| E. | None of these |
| Answer» B. Error | |