]> granicus.if.org Git - php/commit
Fix/improve mysqli stubs
authorDharman <tekiela246@gmail.com>
Mon, 4 Jan 2021 18:08:42 +0000 (18:08 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 6 Jan 2021 10:28:45 +0000 (11:28 +0100)
commit44a311dbbebce3ffb511c5523a326688f2a9a3ab
tree777120ac546518cc360e7b1be3d39161a5e40bc0
parent90081c5391552fb9f049ba3b0b1edbe16a510a5e
Fix/improve mysqli stubs

* mysqli_commit $flags default value is 0, not -1.
* A number of functions cannot actually return null.
* mysqli_poll parameter names were incorrect, as this function
  has a different signature from select.
* fetch functions apart from fetch_all can return false on failure.
ext/mysqli/mysqli.stub.php
ext/mysqli/mysqli_api.c
ext/mysqli/mysqli_arginfo.h
ext/opcache/Optimizer/zend_func_info.c