|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68590 Behavior of mysqli real-escape-string on errors is missing
Submitted: 2014-12-11 12:42 UTC Modified: 2017-09-30 21:52 UTC
From: deckelmann at gmail dot com Assigned: peehaa (profile)
Status: Closed Package: MySQLi related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-12-11 12:42 UTC] deckelmann at gmail dot com
The documentation lacks information about error cases.

A possible error is:
real-escape-string returns a null value and triggers a PHP error if the database link is not present.

keep up the good work. :-)

From manual page:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-13 12:37 UTC]
-Assigned To: +Assigned To: peehaa
 [2017-01-28 17:14 UTC]
-Package: Documentation problem +Package: MySQLi related
 [2017-09-30 21:52 UTC]
Automatic comment from SVN on behalf of peehaa
Log: Added errors section on mysqli::real_escape_string

Fixes #68590

Provided by anonymous 82137 (
 [2017-09-30 21:52 UTC]
-Status: Assigned +Status: Closed
 [2017-09-30 21:52 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC