Briefing Zend Knowledge

Which functions would you use?

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

A.
addslashes()

B.
htmlentities()

C.
preg_quote()

D.
regex_quote()

E.
quotemeta()