mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use RETURN_THROWS() after zend_throw_exception() in most of the extensions
This commit is contained in:
parent
a6486088f8
commit
01a50778d1
19 changed files with 462 additions and 457 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue