echo addcslashes( 'foo []', 'A..z'); / / output: \f\o\o\ [\] / / All upper and lower-case letters will be escaped / /... but so will the [\ ]^_` and any tabs, line / / feeds, carriage returns, etc.
?php echo addcslashes( 'foo []', 'A..z'); / / affiche: \f\o\o\ [\] / / Toutes les majuscules et minuscules seront eacute;chapp eacute;es / /... mais aussi les caract egrave;res [\ ]^_` et les tabulations / / retours chariots, nouvelles lignes....?