Doc #73675 [Ver->Csd]: mysqli_warning class is undocumented

From: Date: Fri, 07 Feb 2020 06:06:35 +0000
Subject: Doc #73675 [Ver->Csd]: mysqli_warning class is undocumented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17275@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 Updated by: phpdocbot@php.net Reported by: fernando at null-life dot com Summary: mysqli_warning class is undocumented -Status: Verified +Status: Closed Type: Documentation Problem Package: MySQLi related Operating System: Windows PHP Version: 7.1.0 Block user comment: N Private report: N New Comment: Automatic comment on behalf of cmb Revision: http://git.php.net/?p=doc/en.git;a=commit;h=dae7041cce6ebf8ebfcec81c8e30284863dd3b94 Log: Partially fix #73675: mysqli_warning class is undocumented Previous Comments: ------------------------------------------------------------------------ [2016-12-07 15:56:57] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=341330 Log: Partially fix #73675: mysqli_warning class is undocumented We fix only the wrong visibility spec, for now. ------------------------------------------------------------------------ [2016-12-07 15:00:15] requinix@php.net __construct() is protected. https://github.com/php/php-src/blob/master/ext/mysqli/mysqli_warning.c ------------------------------------------------------------------------ [2016-12-07 14:55:18] fernando at null-life dot com Forgot to include the link http://php.net/manual/en/mysqli-warning.construct.php ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#17275) next »