Merge branch 'PHP-8.1'

* PHP-8.1
  Mark mysqli_driver properties readonly
This commit is contained in:
Máté Kocsis 2022-01-04 08:41:36 +01:00
commit addec73f12
No known key found for this signature in database
GPG Key ID: FD055E41728BF310
2 changed files with 4 additions and 1 deletions

View File

@ -4,10 +4,13 @@
final class mysqli_driver
{
/** @readonly */
public string $client_info;
/** @readonly */
public int $client_version;
/** @readonly */
public int $driver_version;
public bool $reconnect = false;

View File

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 78662c05cd463735a8a4101c0357fd0d2698d48e */
* Stub hash: baf4cb58df96edeb4fc14e4703fe9363cf5ed784 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)