PrepAway - Latest Free Exam Questions & Answers

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)

PrepAway - Latest Free Exam Questions & Answers

A.
addslashes()

B.
htmlentities()

C.
preg_quote()

D.
regex_quote()

E.
quotemeta()

One Comment on “Which functions would you use?


Leave a Reply

Your email address will not be published. Required fields are marked *