mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Cleanup return values for Intl when parameter parsing is unsuccessful
Closes GH-4871.
This commit is contained in:
parent
5cbe5a538c
commit
969e7a3c8b
35 changed files with 251 additions and 214 deletions
|
@ -101,7 +101,7 @@ U_CFUNC PHP_FUNCTION(rbbi_get_rules)
|
|||
object = ZEND_THIS;
|
||||
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
RETURN_FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
BREAKITER_METHOD_FETCH_OBJECT;
|
||||
|
@ -126,7 +126,7 @@ U_CFUNC PHP_FUNCTION(rbbi_get_rule_status)
|
|||
object = ZEND_THIS;
|
||||
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
RETURN_FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
BREAKITER_METHOD_FETCH_OBJECT;
|
||||
|
@ -140,7 +140,7 @@ U_CFUNC PHP_FUNCTION(rbbi_get_rule_status_vec)
|
|||
object = ZEND_THIS;
|
||||
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
RETURN_FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
BREAKITER_METHOD_FETCH_OBJECT;
|
||||
|
@ -178,7 +178,7 @@ U_CFUNC PHP_FUNCTION(rbbi_get_binary_rules)
|
|||
object = ZEND_THIS;
|
||||
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
RETURN_FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
BREAKITER_METHOD_FETCH_OBJECT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue