Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:544 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81719 invoked by uid 1007); 31 Mar 2003 14:27:50 -0000 Message-ID: <20030331142750.81692.qmail@pb1.pair.com> To: internals@lists.php.net References: <20030331124553.14192.qmail@pb1.pair.com> <20030331131228.GA2502@lxr> Date: Mon, 31 Mar 2003 17:26:47 +0200 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Posted-By: 62.219.161.16 Subject: Re: [PHP-DEV] magic_quotes_sybase and php_stripslashes From: mosdoron@netvision.net.il ("moshe doron") "Sander Roobol" 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.