Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:538 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30453 invoked from network); 31 Mar 2003 13:12:29 -0000 Received: from unknown (HELO lxr) (194.134.217.241) by pb1.pair.com with SMTP; 31 Mar 2003 13:12:29 -0000 Received: (qmail 2553 invoked by uid 1000); 31 Mar 2003 13:12:28 -0000 Date: Mon, 31 Mar 2003 15:12:28 +0200 To: moshe doron Cc: internals@lists.php.net Message-ID: <20030331131228.GA2502@lxr> References: <20030331124553.14192.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030331124553.14192.qmail@pb1.pair.com> User-Agent: Mutt/1.5.3i Subject: Re: [PHP-DEV] magic_quotes_sybase and php_stripslashes From: sander@php.net (Sander Roobol) 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(). Sander > > could this if be removed safely? > > tnx > moshe. > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >