Online PHP addslashes() function


Quote string with slashes.
Returns a string with backslashes before characters that need to be escaped. These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte).
string addslashes ( string $str )
<?php
Hello World!