Question
a.
nl2br ( )
b.
strip ( )
c.
strip_tags ( )
d.
All of them
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which function is used to take a string as argument and returns a string that is stripped of all HTML and PHP tags?
Similar Questions
Discover Related MCQs
Q. There are how many types of classes for regular expressions?
View solution
Q. MD5 algorithm is used to produce a
View solution
Q. Regex defines a
View solution
Q. MD5 stands for
View solution
Q. POSIX regular expression function ereg_replace ( ) takes
View solution
Q. Which function is used to implement MD5 in PHP?
View solution
Q. Process of breaking up a long string into words is called as
View solution
Q. Which PHP function treats a string as collection of characters rather than a sequence?
View solution
Q. By using special wildcards for matching a string which function is used?
View solution
Q. In Perl-compatible patterns any pattern that is followed by ? this means that
View solution
Q. What is meaning of "." in POSIX style regex?
View solution
Q. Why a special character is used in beginning and end of string in Perl-compatible patterns?
View solution
Q. Ereg ( ) function is no more included in
View solution
Q. Inverse function of explode ( ) is
View solution
Q. All these functions are preg_quote ( ), preg_grep ( ), preg_split ( ), preg_match_all ( ) example of
View solution
Q. Htmlspecialchars ( ) function takes a string as argument and returns string in which form, that has a special meaning in HTML
View solution
Q. MD5 is not secure to store passwords because
View solution
Q. PHP removes ereg functions, and prefer using
View solution
Q. A sequence of characters that is treated as a unit is called
View solution
Q. Ltrim ( ) returns its string argument with
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!