Re: PHP 4.0 Bug #9437 Updated: Function stripslashes works not correct, as i think

From: Date: Tue, 20 Mar 2001 11:12:40 +0000
Subject: Re: PHP 4.0 Bug #9437 Updated: Function stripslashes works not correct, as i think
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-49477@lists.php.net to get a copy of this message
>> Ok. Say me please, what should i get for >> stripslashes("\\\\\\\\\\"); ??? "\\\\\\\\\\" is a string of five slashes. Applying stripslashes to it would convert each double slash to one slash (resulting in two slashes) and the remaning danglish slash is considered an invalid escape and is dropped. The result is - two slashes. Check for yourself. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#49477) next »