summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/php_pcre_arginfo.h')
-rw-r--r--ext/pcre/php_pcre_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre_arginfo.h b/ext/pcre/php_pcre_arginfo.h
index 31fb0d9df7..52a48798c1 100644
--- a/ext/pcre/php_pcre_arginfo.h
+++ b/ext/pcre/php_pcre_arginfo.h
@@ -28,7 +28,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_preg_replace_callback, 0, 3, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL)
ZEND_ARG_INFO(0, regex)
- ZEND_ARG_INFO(0, callback)
+ ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
ZEND_ARG_INFO(0, subject)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "-1")
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, count, "null")