php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: deckelmann at gmail dot com
New email:
PHP Version: OS:

 

 [2014-12-11 12:42 UTC] deckelmann at gmail dot com
Description:
------------
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: http://www.php.net/mysqli.real-escape-string
---


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-13 12:37 UTC] peehaa@php.net
-Assigned To: +Assigned To: peehaa
 [2017-01-28 17:14 UTC] cmb@php.net
-Package: Documentation problem +Package: MySQLi related
 [2017-09-30 21:52 UTC] peehaa@php.net
Automatic comment from SVN on behalf of peehaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=343166
Log: Added errors section on mysqli::real_escape_string

Fixes #68590

--
Provided by anonymous 82137 (me@ekins.space)
 [2017-09-30 21:52 UTC] peehaa@php.net
-Status: Assigned +Status: Closed
 [2017-09-30 21:52 UTC] peehaa@php.net
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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC