diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-05 12:55:33 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-11 11:32:20 +0100 |
commit | 86ef425177aa5b1585dee1c4d9779a57c7e8a8b7 (patch) | |
tree | 27cb60d637fbfbbf0fb8be2d003db4a2008bd401 /ext/intl/msgformat/msgformat_parse.c | |
parent | 513b76794bfa210edfdc5b478dffbcbb19747ad0 (diff) | |
download | php-git-86ef425177aa5b1585dee1c4d9779a57c7e8a8b7.tar.gz |
Intl: Don't separately report "bad arguments" errors
zpp will be throwing for these now, don't report them in addition to
that.
Diffstat (limited to 'ext/intl/msgformat/msgformat_parse.c')
-rw-r--r-- | ext/intl/msgformat/msgformat_parse.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c index c517288bff..e1de6a883f 100644 --- a/ext/intl/msgformat/msgformat_parse.c +++ b/ext/intl/msgformat/msgformat_parse.c @@ -69,9 +69,6 @@ PHP_FUNCTION( msgfmt_parse ) if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "Os", &object, MessageFormatter_ce_ptr, &source, &source_len ) == FAILURE ) { - intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "msgfmt_parse: unable to parse input params", 0 ); - RETURN_FALSE; } @@ -104,9 +101,6 @@ PHP_FUNCTION( msgfmt_parse_message ) if( zend_parse_parameters( ZEND_NUM_ARGS(), "sss", &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE ) { - intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, - "msgfmt_parse_message: unable to parse input params", 0 ); - RETURN_FALSE; } |