nerdexam
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)
  • A
    4% (2)
  • B
    8% (4)
  • C
    73% (37)
  • D
    2% (1)
  • E
    14% (7)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice