What is addslashes() in PHP and how does it work? A1WEBSITEPRO Questions › Category: PHP › What is addslashes() in PHP and how does it work? 0 Vote Up Vote Down Maximus Mccullough Staff asked 5 years ago I was wondering what addslashes() was in php7 and how it works? What is addslashes() in PHP and how does it work? was last modified: November 19th, 2018 by Maximus Mccullough 1 Answers 0 Vote Up Vote Down Maximus Mccullough Staff answered 5 years ago Addslashes will put slashes before quotes for escaping purposes. Answer for What is addslashes() in PHP and how does it work? was last modified: November 19th, 2018 by Maximus Mccullough