nerdexam
Zend

200-550 · Question #125

Which of the following functions are used to escape data within the context of HTML? (Choose 2)

The correct answer is A. htmlentities() E. htmlspecialchars(). See the full explanation below for the reasoning.

Question

Which of the following functions are used to escape data within the context of HTML? (Choose 2)

Options

  • Ahtmlentities()
  • Baddslashes()
  • Cstripslashes()
  • Dstrip_tags()
  • Ehtmlspecialchars()

How the community answered

(59 responses)
  • A
    71% (42)
  • B
    3% (2)
  • C
    8% (5)
  • D
    17% (10)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice