php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55119 Procedural mixed with OOP
Submitted: 2011-07-03 12:50 UTC Modified: 2011-07-03 15:14 UTC
From: fusionstream at gmail dot com Assigned: frozenfire (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2011-07-03 12:50 UTC] fusionstream at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/mysqli.query%23Examples
---
Example #1 of the OOP example shows mysqli_connect_error() instead of $mysqli->connect_error

Test script:
---------------
Example #1 of the OOP example shows mysqli_connect_error() instead of $mysqli->connect_error

Expected result:
----------------
Example #1 of the OOP example shows mysqli_connect_error() instead of $mysqli->connect_error

Actual result:
--------------
Example #1 of the OOP example shows mysqli_connect_error() instead of $mysqli->connect_error

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-03 15:14 UTC] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=312861
Log: Made OOP-style example consistent, changing procedural calls to OOP. Fixes bug #55119.
 [2011-07-03 15:14 UTC] frozenfire@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
 [2011-07-03 15:14 UTC] frozenfire@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-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 08:01:32 2024 UTC