nerdexam
Zend

200-550 · Question #180

200-550 Question #180: Real Exam Question with Answer & Explanation

The correct answer is C. preg_quote() E. quote_meta(). See the full explanation below for the reasoning.

Question

You need to escape special characters to use user input inside a regular expression. Which functions would you use? (Choose 2)

Options

  • Aaddslashes()
  • Bhtmlentities()
  • Cpreg_quote()
  • Dregex_quote()
  • Equote_meta()

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice