summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2021-03-25 02:12:06 +0000
committerGeorge Peter Banyard <girgias@php.net>2021-03-25 02:12:06 +0000
commit56c18c4038e3b9033c3e9cd48d053065898a6b2f (patch)
treef7022130985e4916fb31d0a5b7f221b8b80aa07d /Zend/zend_execute.h
parent6c89359124e7d8d49ef8a4b61ad93118555bb280 (diff)
downloadphp-git-56c18c4038e3b9033c3e9cd48d053065898a6b2f.tar.gz
Drop unneessary if branch and adjust arg_num type
This if branch seems to be a remain of when certain type errors where E_WARNINGs, something which isn't the case since PHP 8.0.
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 3339f3992d..628b6ddec5 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -70,7 +70,7 @@ ZEND_API ZEND_COLD zend_result ZEND_FASTCALL zend_undefined_index_write(HashTabl
ZEND_API bool zend_verify_scalar_type_hint(uint32_t type_mask, zval *arg, bool strict, bool is_internal_arg);
ZEND_API ZEND_COLD void zend_verify_arg_error(
- const zend_function *zf, const zend_arg_info *arg_info, int arg_num, zval *value);
+ const zend_function *zf, const zend_arg_info *arg_info, uint32_t arg_num, zval *value);
ZEND_API ZEND_COLD void zend_verify_return_error(
const zend_function *zf, zval *value);
ZEND_API bool zend_verify_ref_array_assignable(zend_reference *ref);