php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78045 Wrong return type in mysqli_warning::next() description
Submitted: 2019-05-21 08:47 UTC Modified: 2019-05-21 14:14 UTC
From: fabien dot villepinte at gmail dot com Assigned: brzuchal (profile)
Status: Closed Package: MySQLi related
PHP Version: Irrelevant OS:
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:
MUST BE VALID
Solve the problem:
14 - 9 = ?
Subscribe to this entry?

 
 [2019-05-21 08:47 UTC] fabien dot villepinte at gmail dot com
Description:
------------
http://docs.php.net/manual/en/mysqli-warning.next.php

The documented return type is void instead of bool.

See: https://github.com/php/php-src/blob/49a4e695845bf55e059e7f88e54b1111fe284223/ext/mysqli/tests/066.phpt#L27


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-21 09:41 UTC] brzuchal@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: brzuchal
 [2019-05-21 14:12 UTC] brzuchal@php.net
Automatic comment from SVN on behalf of brzuchal
Revision: http://svn.php.net/viewvc/?view=revision&revision=347459
Log: Fix #78045: Wrong return type in mysqli_warning::next() description
 [2019-05-21 14:14 UTC] brzuchal@php.net
-Status: Verified +Status: Closed
 [2019-05-21 14:14 UTC] brzuchal@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.
 [2019-05-21 14:15 UTC] salathe@php.net
Automatic comment on behalf of brzuchal
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=32706ffe0df3a633792483806c03dfc2dcd0786d
Log: Fix #78045: Wrong return type in mysqli_warning::next() description
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of brzuchal
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=bf963bac2d310a026fef0272d41a9fe5ae99f641
Log: Fix #78045: Wrong return type in mysqli_warning::next() description
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 05:01:31 2024 UTC