php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64421 db2_escape_string documentation does not match implementation
Submitted: 2013-03-13 17:45 UTC Modified: 2018-08-27 09:51 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: ralphschindler@php.net Assigned: vnkbabu (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: Irrelevant OS: ANY
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ralphschindler@php.net
New email:
PHP Version: OS:

 

 [2013-03-13 17:45 UTC] ralphschindler@php.net
Description:
------------
> The string that contains special characters that need to be modified. Characters that are prepended with a backslash are \x00, \n, \r, \, ', " and \x1a. 

The current implementation only replaces single ' with '' (single quote escaping).

Test script:
---------------
n/a


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-27 09:51 UTC] vnkbabu@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: vnkbabu
 [2018-08-27 09:51 UTC] vnkbabu@php.net
As this issue is very old, Closing it. Reopen if issue still persist.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 09:01:34 2025 UTC