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"); else echo("Integer is valid"); ?>
A.No output is returned
B.Integer is not valid
C.Integer is valid
D.Error
Answers
Answered by
3
Hola friends...
=============
Option B :- integer is not valid..
is the correct answer.....
=============
Option B :- integer is not valid..
is the correct answer.....
Answered by
20
Heya mate
The answer of ur question is
♢ Integer is not valid i.e. the option - ( B )
hope it helps
The answer of ur question is
♢ Integer is not valid i.e. the option - ( B )
hope it helps
saury412:
hi
Similar questions
Computer Science,
7 months ago
English,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
English,
1 year ago
Biology,
1 year ago