PHP Multiple Choice Questions and Answers
Questions
6
Which function is used to remove HTML Tags from a string in PHP?
Answer: Option [B]
The strip_tags() function removes HTML tags from a string
7
Which function is used to decode URL encoded strings in PHP ?
Answer: Option [D]
The rawurldecode() function decodes URL-encoded strings in PHP
⭐ Make GKSeries Your Preferred Source on Google
Add GKSeries as Preferred Source
8
Which function is used to convert Ampersands(&) to &, Double quotes("") to " in PHP
Answer: Option [C]
9
Which function is used to compare strings as strings in PHP ?
Answer: Option [B]
To compare strings as strings in PHP strcmp() is used.
10
In PHP, which function converts strings to lowercase before comparing them ?
Answer: Option [C]