MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz in Php
→
No output is returned..
1.
No output is returned
A.
Integer is not valid
B.
Integer is valid
C.
Error
Answer» B. Integer is valid
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which one of the following filter checks if the variable of the specified type exists?
If the input variable is a string like this “http://www.saåånfoøøundry.com/”, the $url variable after the sanitizing will look like?
Which one of the following does not describe a validating filter?
How many types of filtering are present in PHP?
What will be the output of the following PHP code?<?php$num = "123";if (!filter_var($num, FILTER_VALIDATE_INT))echo("Integer is not valid");elseecho("Integer is valid");?>
What will be the output of the following PHP code?<?phpfunction convertSpace($string){return str_replace("_", " ", $string);}$string = "Peter_is_a_great_guy!";echo filter_var($string, FILTER_CALLBACK, array("options"=>"convertSpace"));?>
What will be the output of the following PHP code?<?php$value = 'car';$result = filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);?>
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");?>
WHICH_ONE_OF_THE_FOLLOWING_FILTER_CHECKS_IF_VARIABLE_OF_SPECIFIED_TYPE_EXISTS??$
If the input variable is a string like this “http://www.saåånfoøøundry.com/”, the?#url variable after the sanitizing will look lik?#
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply