[php-src] master: Merge branch 'PHP-8.0'

From: Date: Wed, 28 Apr 2021 09:21:01 +0000
Subject: [php-src] master: Merge branch 'PHP-8.0'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115924@lists.php.net to get a copy of this message
Author: Nikita Popov (nikic) Date: 2021-04-28T11:20:55+02:00 Commit: https://github.com/php/php-src/commit/b5778ce1b7c5046002d54772870bf9bc15ca5f52 Raw diff: https://github.com/php/php-src/commit/b5778ce1b7c5046002d54772870bf9bc15ca5f52.diff Merge branch 'PHP-8.0' * PHP-8.0: fetch_assoc may return array_key_long Changed paths: M Zend/Optimizer/zend_func_info.c Diff: diff --git a/Zend/Optimizer/zend_func_info.c b/Zend/Optimizer/zend_func_info.c index c7c11ecb0107..f6edd3b692de 100644 --- a/Zend/Optimizer/zend_func_info.c +++ b/Zend/Optimizer/zend_func_info.c @@ -459,7 +459,7 @@ static const func_info_t func_infos[] = { F1("mysqli_query", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_OBJECT), F1("mysqli_get_charset", MAY_BE_NULL | MAY_BE_OBJECT), F1("mysqli_fetch_array", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY), - F1("mysqli_fetch_assoc", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY), + F1("mysqli_fetch_assoc", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY), F1("mysqli_fetch_all", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY), F1("mysqli_fetch_object", MAY_BE_NULL | MAY_BE_OBJECT), F1("mysqli_affected_rows", MAY_BE_LONG | MAY_BE_STRING), @@ -701,7 +701,7 @@ static const func_info_t func_infos[] = { F1("pg_field_type_oid", MAY_BE_LONG | MAY_BE_STRING), F1("pg_fetch_result", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), F1("pg_fetch_row", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING), - F1("pg_fetch_assoc", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING), + F1("pg_fetch_assoc", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING), F1("pg_fetch_array", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING), F1("pg_fetch_object", MAY_BE_FALSE | MAY_BE_OBJECT), F1("pg_fetch_all", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_ARRAY),

« previous php.cvs (#115924) next »