diff options
Diffstat (limited to 'ext/intl/common/common_error.c')
-rw-r--r-- | ext/intl/common/common_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/common/common_error.c b/ext/intl/common/common_error.c index 4bb21e3583..85d5595dcc 100644 --- a/ext/intl/common/common_error.c +++ b/ext/intl/common/common_error.c @@ -52,7 +52,7 @@ PHP_FUNCTION( intl_is_failure ) if( zend_parse_parameters( ZEND_NUM_ARGS(), "l", &err_code ) == FAILURE ) { - RETURN_FALSE; + return; } RETURN_BOOL( U_FAILURE( err_code ) ); @@ -71,7 +71,7 @@ PHP_FUNCTION( intl_error_name ) if( zend_parse_parameters( ZEND_NUM_ARGS(), "l", &err_code ) == FAILURE ) { - RETURN_FALSE; + return; } RETURN_STRING( (char*)u_errorName( err_code ) ); |