Skip to content

Commit 13ef586

Browse files
committed
fixup! Support arbitrary parameter attributes in stubs
1 parent 8383ce1 commit 13ef586

File tree

13 files changed

+445
-445
lines changed

13 files changed

+445
-445
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3915,7 +3915,7 @@ static function (FuncInfo $funcInfo) use ($allConstInfos) {
39153915
}
39163916

39173917
foreach ($arg->attributes as $attribute) {
3918-
$code .= $attribute->generateCode("zend_add_parameter_attribute(zend_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", strlen(\"" . $funcInfo->name->getNameForAttributes() . "\")), $index", "{$funcInfo->getArgInfoName()}_{$index}", $allConstInfos);
3918+
$code .= $attribute->generateCode("zend_add_parameter_attribute(zend_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", strlen(\"" . $funcInfo->name->getNameForAttributes() . "\")), $index", "{$funcInfo->getArgInfoName()}_arg{$index}", $allConstInfos);
39193919
}
39203920
}
39213921

ext/ftp/ftp_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/hash/hash_arginfo.h

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/imap/php_imap_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/ldap/ldap_arginfo.h

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)