National_Instruments
200-500 · Question #20
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
(51 responses)- A4% (2)
- B8% (4)
- C73% (37)
- D2% (1)
- E14% (7)
Community Discussion
No community discussion yet for this question.