summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions_arginfo.h
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-07-08 18:36:46 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-07-08 19:38:46 +0200
commit7ac9e9bf644ec9a305641386591a507a9159e5be (patch)
tree6b263c3b13bb3b66db08745cd16002e8d1fcdd63 /Zend/zend_builtin_functions_arginfo.h
parent51917241e440d21b282546d6c59a6502ca5fff43 (diff)
downloadphp-git-7ac9e9bf644ec9a305641386591a507a9159e5be.tar.gz
Use ZPP callable check in zend built in functions
Diffstat (limited to 'Zend/zend_builtin_functions_arginfo.h')
-rw-r--r--Zend/zend_builtin_functions_arginfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_builtin_functions_arginfo.h b/Zend/zend_builtin_functions_arginfo.h
index 1964c121c9..1fa189410c 100644
--- a/Zend/zend_builtin_functions_arginfo.h
+++ b/Zend/zend_builtin_functions_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: f81f2b4cf552c4ee8406b91c437797feb1164be0 */
+ * Stub hash: 0d3c035fc2b9f0dcdbf6efe3c740d8aa3805ec32 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO()
@@ -127,7 +127,7 @@ ZEND_END_ARG_INFO()
#define arginfo_user_error arginfo_trigger_error
ZEND_BEGIN_ARG_INFO_EX(arginfo_set_error_handler, 0, 0, 1)
- ZEND_ARG_INFO(0, error_handler)
+ ZEND_ARG_TYPE_INFO(0, error_handler, IS_CALLABLE, 1)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, error_types, IS_LONG, 0, "E_ALL")
ZEND_END_ARG_INFO()
@@ -135,7 +135,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_restore_error_handler, 0, 0, _IS
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_set_exception_handler, 0, 0, 1)
- ZEND_ARG_INFO(0, exception_handler)
+ ZEND_ARG_TYPE_INFO(0, exception_handler, IS_CALLABLE, 1)
ZEND_END_ARG_INFO()
#define arginfo_restore_exception_handler arginfo_restore_error_handler