php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16314 stripslashes strips n'n to nn
Submitted: 2002-03-27 13:40 UTC Modified: 2002-03-27 15:21 UTC
From: grangeway at hotmail dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.1.2 OS: freebsd/windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: grangeway at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-03-27 13:40 UTC] grangeway at hotmail dot com
echo stripslashes(",',"); returns ,,

i.e. echo addslashes(stripslashes("'")); returns nothing. 

tested on 4.1.2 and cvs version as of a few days ago. 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 13:41 UTC] grangeway at hotmail dot com
that's with sybase style slashes on.
 [2002-03-27 15:21 UTC] hholzgra@php.net
fixed in CVS (although code could be beautified)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 11 11:00:02 2025 UTC