summaryrefslogtreecommitdiff
path: root/ext/intl/formatter/formatter_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/formatter/formatter_main.c')
-rw-r--r--ext/intl/formatter/formatter_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_main.c b/ext/intl/formatter/formatter_main.c
index 8f44f33fa3..aacae86ca6 100644
--- a/ext/intl/formatter/formatter_main.c
+++ b/ext/intl/formatter/formatter_main.c
@@ -34,7 +34,7 @@ static int numfmt_ctor(INTERNAL_FUNCTION_PARAMETERS)
FORMATTER_METHOD_INIT_VARS;
/* Parse parameters. */
- if( zend_parse_parameters( ZEND_NUM_ARGS(), "sl|s",
+ if( zend_parse_parameters( ZEND_NUM_ARGS(), "sl|s!",
&locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE )
{
return FAILURE;