Cleanup return values for Intl when parameter parsing is unsuccessful

Closes GH-4871.
This commit is contained in:
Máté Kocsis 2019-10-29 15:45:46 +01:00 committed by Nikita Popov
parent 5cbe5a538c
commit 969e7a3c8b
35 changed files with 251 additions and 214 deletions

View file

@ -31,7 +31,7 @@ U_CFUNC PHP_FUNCTION(cpbi_get_last_code_point)
object = ZEND_THIS;
if (zend_parse_parameters_none() == FAILURE) {
RETURN_FALSE;
return;
}
BREAKITER_METHOD_FETCH_OBJECT;