adplus-dvertising
frame-decoration

Question

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

a.

Replaces a string with four characters

b.

Replaces a string in integers

c.

Replaces a string with quotation marks

d.

None of them

Posted under PHP

Answer: (a).Replaces a string with four characters

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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

Q. When two strings are exactly equivalent Strcmp ( ) returns what?

Q. For finding out one string is equal to another string which function we can use?

Q. Returns a string arguments with trilling blank space removed, is a behavior of

Q. Which function is used for replacing whole string with an alternate string?

Q. Stristr ( ) is identical to Strstr ( ) except that

Q. Replacing string from left hand side is known as

Q. A function that capitalizes first letter of each word in a string, is a

Q. Case functions are used for

Q. Chop ( ), ltrim ( ) and trim functions are used for

Q. Which function is identical to Strstr ( )?

Q. Selecting a substring by numerical position is property of

Q. In substring selection which function modifies a string?

Q. Which function is used for escaping quotation marks, double quotation marks, backslashes and Nulls from a string?

Q. In addition to single and double quoted strings PHP offers another way to specify a string which is called as

Q. Which function returns resulting string as its value?

Q. Which two functions are used for replacing a string with another string?