adplus-dvertising
frame-decoration

Question

Which function is used to take a string as argument and returns a string that is stripped of all HTML and PHP tags?

a.

nl2br ( )

b.

strip ( )

c.

strip_tags ( )

d.

All of them

Posted under PHP

Answer: (c).strip_tags ( )

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?

Q. MD5 algorithm is used to produce a

Q. Regex defines a

Q. MD5 stands for

Q. POSIX regular expression function ereg_replace ( ) takes

Q. Which function is used to implement MD5 in PHP?

Q. Process of breaking up a long string into words is called as

Q. Which PHP function treats a string as collection of characters rather than a sequence?

Q. By using special wildcards for matching a string which function is used?

Q. In Perl-compatible patterns any pattern that is followed by ? this means that

Q. What is meaning of "." in POSIX style regex?

Q. Why a special character is used in beginning and end of string in Perl-compatible patterns?

Q. Ereg ( ) function is no more included in

Q. Inverse function of explode ( ) is

Q. All these functions are preg_quote ( ), preg_grep ( ), preg_split ( ), preg_match_all ( ) example of

Q. Htmlspecialchars ( ) function takes a string as argument and returns string in which form, that has a special meaning in HTML

Q. MD5 is not secure to store passwords because

Q. PHP removes ereg functions, and prefer using

Q. A sequence of characters that is treated as a unit is called

Q. Ltrim ( ) returns its string argument with