summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-10 18:04:17 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-10 18:17:18 +0200
commit4aa137c6a624f4f03b04bea60d61872ec490e4f8 (patch)
treed4c5555a42f38d717b8e462ef77c107342e5248c /ext/intl/php_intl_arginfo.h
parentce3b49a8e81bdf4d39ca097e7699fde20998102e (diff)
downloadphp-git-4aa137c6a624f4f03b04bea60d61872ec490e4f8.tar.gz
Fix the default value of the $length parameter of grapheme_substr()
Diffstat (limited to 'ext/intl/php_intl_arginfo.h')
-rw-r--r--ext/intl/php_intl_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/php_intl_arginfo.h b/ext/intl/php_intl_arginfo.h
index ece7aa6ef5..a0a7aa9133 100644
--- a/ext/intl/php_intl_arginfo.h
+++ b/ext/intl/php_intl_arginfo.h
@@ -463,7 +463,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_substr, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, start, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "0")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_grapheme_strstr, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)