Returns a string with backslashes before specified characters.
Syntax
addcslashes(string,characters)
Example
$string="Hello Raj"; echo addcslashes($string,'a');
Output
Hello R\aj
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.