Explore topic-wise MCQs in PHP Questions & Answers PHP Filter.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers PHP Filter knowledge and support exam preparation. Choose a topic below to get started.

1.

Which one of the following filter checks if the variable of the specified type exists?

A. filter_has_var
B. filter_var
C. filter_id
D. filter_var_array
Answer» B. filter_var
2.

If the input variable is a string like this http://www.sa nfo undry.com/ , the $url variable after the sanitizing will look like?

A. http://www.sa nfo undry.com/
B. http://www.saaanfoooundry.com/
C. http://www.sa nfo undry.com/
D. https://www.sanfoundry.com/
Answer» E.