#
73f989a8 |
| 06-Jan-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix/improve mysqli stubs
|
Revision tags: php-8.0.1, php-7.4.14 |
|
#
44a311db |
| 04-Jan-2021 |
Dharman |
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
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.
show more ...
|
Revision tags: php-7.3.26 |
|
#
037512cf |
| 18-Dec-2020 |
Nikita Popov |
Move fetch_all implementation out of mysqlnd There doesn't seem to be any compelling reason to implement this in mysqlnd rather than mysqli. It's just a loop over fetch_into. Th
Move fetch_all implementation out of mysqlnd There doesn't seem to be any compelling reason to implement this in mysqlnd rather than mysqli. It's just a loop over fetch_into. This makes the function available under libmysqlclient as well, and thus fixes bug #79372.
show more ...
|
#
be93e5a1 |
| 18-Dec-2020 |
Nikita Popov |
Make mysqli_stmt_next_result available under libmysql The libmysqlclient version we require supports mysql_stmt_next_result. |
Revision tags: php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24 |
|
#
d5f92baa |
| 13-Oct-2020 |
Máté Kocsis |
Fix default value handling of mysqli_fetch_object() Make [] acceptable both for classes without constructors and classes with a constructor that takes no arguments. Closes GH-63
Fix default value handling of mysqli_fetch_object() Make [] acceptable both for classes without constructors and classes with a constructor that takes no arguments. Closes GH-6336.
show more ...
|
Revision tags: php-8.0.0RC2 |
|
#
d6264b09 |
| 13-Oct-2020 |
Máté Kocsis |
Verify parameter names of function aliases Closes GH-6335 |
Revision tags: php-7.4.12RC1 |
|
#
e86a6ced |
| 13-Oct-2020 |
Nikita Popov |
Use $statement in mysqli As we went with $statement rather than $stmts in other places, let's also use it in mysqli. The discrepancy with mysqli_stmt is a bit unfortunate, but we can
Use $statement in mysqli As we went with $statement rather than $stmts in other places, let's also use it in mysqli. The discrepancy with mysqli_stmt is a bit unfortunate, but we can't be consistent with *both*. Closes GH-6330.
show more ...
|
Revision tags: php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23 |
|
#
8138ed73 |
| 24-Sep-2020 |
Nikita Popov |
Make mysqli_warning constructor private The constructor was already effectively inaccessible (protected on a final class). This just makes it more obvious and removes the implementat
Make mysqli_warning constructor private The constructor was already effectively inaccessible (protected on a final class). This just makes it more obvious and removes the implementation in favor of directly throwing. Per the removed test, this was an unfinished feature, and I don't think it makes a lot of sense to finish it -- the mysqli_stmt::get_warnings() interface makes more sense than direct construction. Closes GH-6208.
show more ...
|
#
02dc9ce6 |
| 20-Sep-2020 |
Larry Garfield |
Rename mysqli parameters to be more logical Closes GH-6172. |
#
be4553b6 |
| 24-Sep-2020 |
Nikita Popov |
More precise type in mysqli_result constructor This ctor requires a mysqli object. Possibly there was some confusion with the mysqli_warning constructor here. |
#
e7f98f82 |
| 17-Sep-2020 |
Nikita Popov |
Add missing mysqlnd checks to stubs |
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20 |
|
#
7a95e943 |
| 03-Jul-2020 |
George Peter Banyard |
Promote warnings to Error in MySQLi extension Closes GH-5803 |
#
6570fc2c |
| 14-Aug-2020 |
Nikita Popov |
Remove dummy aliases for mysqli constructors These are only available as methods. Directly declare them as such instead of aliasing to functions that don't actually exist. |
#
046cc5e4 |
| 07-Aug-2020 |
Máté Kocsis |
Add another round of missing parameter types to stubs Closes GH-5950 |
#
0d330e1a |
| 28-Jul-2020 |
Máté Kocsis |
Add a few missing parameter types in stubs Related to GH-5627 |
#
f7f55792 |
| 21-Jul-2020 |
Nikita Popov |
Fix arg/func info * mysqli_get_server_info() cannot return null. The underlying API is infallible. * mysqli_select_db() func info is redundant. * mb_detect_order() can only
Fix arg/func info * mysqli_get_server_info() cannot return null. The underlying API is infallible. * mysqli_select_db() func info is redundant. * mb_detect_order() can only return array|true, not array|false. Also make the func_info.phpt test that is supposed to catch these kinds of issues actually work.
show more ...
|
#
30067894 |
| 30-Jun-2020 |
Máté Kocsis |
Update outdated arginfo hashes |
Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1 |
|
#
ff19ec2d |
| 26-Feb-2020 |
Nikita Popov |
Introduce InternalIterator Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal class
Introduce InternalIterator Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal classes: They can implement the internal get_iterator mechanism, without exposing either the Iterator or IteratorAggregate APIs. This makes them usable in get_iterator(), but incompatible with any Iterator based APIs. A lot of internal classes do this, because exposing the userland APIs is simply a lot of work. This patch alleviates this issue by providing a generic InternalIterator class, which acts as an adapater between get_iterator and Iterator, and can be easily used by many internal classes. At the same time, we extend the requirement that Traversable implies Iterator or IteratorAggregate to internal classes as well. Closes GH-5216.
show more ...
|
#
c9b9f525 |
| 19-Jun-2020 |
Nikita Popov |
Include stub hash in generated arginfo files The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necess
Include stub hash in generated arginfo files The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
show more ...
|
#
59656100 |
| 08-Jun-2020 |
Máté Kocsis |
Fix some UNKNOWN default values In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl |
#
b3718430 |
| 25-May-2020 |
Máté Kocsis |
Annotate internal functions with the mixed type Closes GH-5618 |
#
ed6cf678 |
| 19-May-2020 |
Máté Kocsis |
Fix some final classes in stubs |
#
3ebce8e9 |
| 02-May-2020 |
Máté Kocsis |
Fix UNKNOWN default values in various extensions Closes GH-5514 |
#
8597ec00 |
| 15-Apr-2020 |
Nikita Popov |
Remove support for libmysqlclient 5.0 Closes GH-5391. |
#
928b25cd |
| 19-Apr-2020 |
Máté Kocsis |
Generate function entries from stubs for mysqli Closes GH-5420 |