Re: magic_quotes_sybase and php_stripslashes

From: Date: Mon, 31 Mar 2003 15:26:47 +0000
Subject: Re: magic_quotes_sybase and php_stripslashes
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-544@lists.php.net to get a copy of this message
"Sander Roobol" <sander@php.net> wrote in message news:20030331131228.GA2502@lxr... > On Mon, Mar 31, 2003 at 03:45:13PM +0200, moshe doron wrote: > > could some1 explain the first if here (php_stripslashes:cybase mode) > > http://lxr.php.net/source/php4/ext/standard/string.c#2324 > > that have nothing with slashes but with quotes? > > Sybase escapes ' with '' and NUL with \0 so we needed a special > version of php_stripslashes(). ok stupid me, i didn't realized that php_*slashes are just intended to deal with magic mode.

« previous php.internals (#544) next »