PHP Doc Team ::

I believe a small change to the addclashes documentation is necessary.  The 
doc uses the following code example.

$escaped = addcslashes($not_escaped, "\0..\37!@\177..\377");

After extensive bug fixing, I have found the following to be much more 
appropriate:

$escaped = addcslashes($not_escaped, "\0..\37!@\@\177..\377");

Because stripcslashes will annihilate any strings with original, innocent 
backslashes.

-|    Nat Weiss  :  [EMAIL PROTECTED]    |-

Reply via email to