summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/msgformat/msgformat_parse.c')
-rw-r--r--ext/intl/msgformat/msgformat_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c
index f212f15ff6..2a71e59d47 100644
--- a/ext/intl/msgformat/msgformat_parse.c
+++ b/ext/intl/msgformat/msgformat_parse.c
@@ -99,7 +99,7 @@ PHP_FUNCTION( msgfmt_parse_message )
if( zend_parse_parameters( ZEND_NUM_ARGS(), "sss",
&slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE )
{
- return;
+ RETURN_THROWS();
}
INTL_CHECK_LOCALE_LEN(slocale_len);