Merge branch 'PHP-8.1'

This commit is contained in:
Bob Weinand 2022-03-07 22:30:03 +01:00
commit e439736fdf
3 changed files with 3 additions and 3 deletions

View file

@ -670,7 +670,7 @@ static void function_copy_ctor(zval *zv) /* {{{ */
func->common.attributes = NULL;
ZEND_HASH_PACKED_FOREACH_PTR(old_func->common.attributes, old_attr) {
ZEND_HASH_FOREACH_PTR(old_func->common.attributes, old_attr) {
uint32_t i;
zend_attribute *attr;

View file

@ -108,7 +108,7 @@ namespace {
function zend_get_unit_enum(): ZendTestUnitEnum {}
function zend_test_parameter_with_attribute(#[ZendTestParameterAttribute] string $parameter): int {}
function zend_test_parameter_with_attribute(string $parameter): int {}
}
namespace ZendTestNS {

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: af5d698b35753ac9f852688644d6844ba0914b2b */
* Stub hash: bf10c37919483ac04bc1f788ac6e59b5edab295e */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_array_return, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()