ID:               19947
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Strings related
 Operating System: Linux RedHat
 PHP Version:      4.2.1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------

[2002-10-17 01:52:19] [EMAIL PROTECTED]

Stripslashes should symmetric to addslashes( which adds \ to ',",\,0x0
). 

However running Stripslashes on the following example causes the \" AND
the \n to have slashes stripped. This makes it non-symmetric and
somewhat useless in these situations.

Sample:
$test = 'header( \"Location: $NewURL\n\" );';
$test2 = stripslashes($test);

Given Result:
header( "Location: $NewURLn" );

Expected result:
header( "Location: $NewURL\n" );


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19947&edit=1

Reply via email to