Use RETURN_THROWS() during ZPP in most of the extensions

Except for some bigger ones: reflection, sodium, spl
This commit is contained in:
Máté Kocsis 2019-12-31 11:27:02 +01:00
parent d9ac1ca8de
commit 345703724c
No known key found for this signature in database
GPG key ID: FD055E41728BF310
71 changed files with 1001 additions and 994 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;
RETURN_THROWS();
}
BREAKITER_METHOD_FETCH_OBJECT;