|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73675 mysqli_warning class is undocumented
Submitted: 2016-12-07 14:53 UTC Modified: 2016-12-07 15:57 UTC
From: fernando at null-life dot com Assigned:
Status: Closed Package: MySQLi related
PHP Version: 7.1.0 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
37 + 35 = ?
Subscribe to this entry?

 [2016-12-07 14:53 UTC] fernando at null-life dot com
According to the doc, the class is public but I can't instantiate it, probably a documentation problem

Test script:

$m = new mysqli_warning();

Expected result:
No error

Actual result:
Fatal error: Uncaught Error: Call to protected mysqli_warning::__construct() fro
m invalid context in D:\fms\matatetete-master\mysql.php:3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-07 14:54 UTC] fernando at null-life dot com
-Type: Bug +Type: Documentation Problem
 [2016-12-07 14:54 UTC] fernando at null-life dot com
Changing bug type
 [2016-12-07 14:55 UTC] fernando at null-life dot com
Forgot to include the link
 [2016-12-07 15:00 UTC]
-Summary: mysqli_warning constructor +Summary: mysqli_warning class is undocumented -Package: Documentation problem +Package: MySQLi related
 [2016-12-07 15:49 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2016-12-07 15:56 UTC]
Automatic comment from SVN on behalf of cmb
Log: Partially fix #73675: mysqli_warning class is undocumented

We fix only the wrong visibility spec, for now.
 [2016-12-07 15:57 UTC]
-Assigned To: cmb +Assigned To:
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of cmb
Log: Partially fix #73675: mysqli_warning class is undocumented
 [2020-02-07 06:06 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Feb 27 12:01:25 2020 UTC