We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a310f73 commit ef0e107Copy full SHA for ef0e107
Zend/zend_execute.c
@@ -1149,7 +1149,7 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error(zend_execute_data *
1149
{
1150
zend_execute_data *ptr = EX(prev_execute_data);
1151
1152
- if (arg_num < EX(func)->common.required_num_args) {
+ if (arg_num < EX_NUM_ARGS()) {
1153
zend_argument_error(zend_ce_argument_count_error, arg_num, "not passed");
1154
return;
1155
}
0 commit comments