Skip to content

Commit e439736

Browse files
committed
Merge branch 'PHP-8.1'
2 parents 185a146 + 67b372e commit e439736

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Zend/zend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ static void function_copy_ctor(zval *zv) /* {{{ */
670670

671671
func->common.attributes = NULL;
672672

673-
ZEND_HASH_PACKED_FOREACH_PTR(old_func->common.attributes, old_attr) {
673+
ZEND_HASH_FOREACH_PTR(old_func->common.attributes, old_attr) {
674674
uint32_t i;
675675
zend_attribute *attr;
676676

ext/zend_test/test.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function zend_weakmap_dump(): array {}
108108

109109
function zend_get_unit_enum(): ZendTestUnitEnum {}
110110

111-
function zend_test_parameter_with_attribute(#[ZendTestParameterAttribute] string $parameter): int {}
111+
function zend_test_parameter_with_attribute(string $parameter): int {}
112112
}
113113

114114
namespace ZendTestNS {

ext/zend_test/test_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: af5d698b35753ac9f852688644d6844ba0914b2b */
2+
* Stub hash: bf10c37919483ac04bc1f788ac6e59b5edab295e */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_array_return, 0, 0, IS_ARRAY, 0)
55
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)