Doc #73675 [Com]: mysqli_warning constructor
| From: | fernando at null-life dot com | Date: | Wed, 07 Dec 2016 14:55:19 +0000 |
| Subject: | Doc #73675 [Com]: mysqli_warning constructor | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14185@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73675&edit=1
ID: 73675
Comment by: fernando at null-life dot com
Reported by: fernando at null-life dot com
Summary: mysqli_warning constructor
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows
PHP Version: 7.1.0
Block user comment: N
Private report: N
New Comment:
Forgot to include the link
http://php.net/manual/en/mysqli-warning.construct.php
Previous Comments:
------------------------------------------------------------------------
[2016-12-07 14:54:36] fernando at null-life dot com
Changing bug type
------------------------------------------------------------------------
[2016-12-07 14:53:51] fernando at null-life dot com
Description:
------------
According to the doc, the class is public but I can't instantiate it, probably a documentation
problem
Test script:
---------------
<?php
$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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73675&edit=1