nerdexam
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)
  • A
    3% (1)
  • B
    6% (2)
  • C
    83% (30)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice