[PHP-DEV] sybase style stripslashes From: James L. Pine (jlp <email protected>)
Date: 08/17/00

if add/stripslashes are operating in sybase mode (magic_quotes_sybase is
on), there appears to be a little weirdness.

addslashes will replace single quotes with double single quotes and will
backslash escape null characters.

stripslashes will replace the double single quotes with single quotes, but
will not unescape the null characters.

is there a reason for stripslashes not to unescape null characters, or
should it be changed to do so? (it's an obvious change, but I didn't want
to make it without asking.)

--jlp

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>