Use RETURN_THROWS() after zend_throw_exception() in most of the extensions

This commit is contained in:
Máté Kocsis 2020-01-02 10:35:31 +01:00
parent a6486088f8
commit 01a50778d1
No known key found for this signature in database
GPG key ID: FD055E41728BF310
19 changed files with 462 additions and 457 deletions

View file

@ -2840,7 +2840,7 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, zend_long result_
* argument passed by reference.
*/
zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0);
return;
RETURN_THROWS();
}
}