addcslashes

PHP 4, PHP 5, PHP 7, PHP 8
addcslashes - Quote string with slashes in a C style

Example #1 addcslashes example

like "\0..\37", which would escape all characters with ASCII code between 0 and 31.

PHP Version:


Example #2 of addcslashes

PHP Version:


Function addcslashes:

Strings Functions

Most used PHP functions