Zend
200-550 · Question #241
Which constant must be passed as the second argument to htmlentities() to convert single quotes (') to HTML entities?
The correct answer is C. ENT_QUOTES. See the full explanation below for the reasoning.
Question
Which constant must be passed as the second argument to htmlentities() to convert single quotes (') to HTML entities?
Options
- ATRUE
- BFALSE
- CENT_QUOTES
- DENT_NOQUOTES
- EENT_COMPAT
How the community answered
(36 responses)- A3% (1)
- B6% (2)
- C83% (30)
- D8% (3)
Community Discussion
No community discussion yet for this question.