]> granicus.if.org Git - php/commit
Change parameters types from int to bool
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 12 Oct 2020 17:18:03 +0000 (19:18 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 12 Oct 2020 21:10:13 +0000 (23:10 +0200)
commit8d4774a2df4e16679c9176e2b6edecc94283af6d
tree055eb6ee3fa5c45d0240a4f8673b82db5f5fd628
parent1c596ff1463a187d0fe135de251fb139b63858bd
Change parameters types from int to bool

These are typical boolean parameters, so we shouldn't advertize them as
integers.  For the `$reverse` parameter that even fixes expectations,
because the `reverse` member is a bitfield of 1 bit, so assigning any
even integer would not set it.

Closes GH-6328.
ext/imap/php_imap.c
ext/imap/php_imap.stub.php
ext/imap/php_imap_arginfo.h
ext/odbc/odbc.stub.php
ext/odbc/odbc_arginfo.h
ext/odbc/php_odbc.c