summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2019-12-30 17:35:46 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2019-12-30 17:38:10 +0100
commite1b57310b1ec15b24e5ead8b63e58f74a0dbc988 (patch)
tree48d1e75ba2b0fc2f587b4e512cfd2fe3aeec9927 /main/SAPI.c
parent31cf9a7ea99e69ed2838ab0765a1aefd6609ef7b (diff)
downloadphp-git-e1b57310b1ec15b24e5ead8b63e58f74a0dbc988.tar.gz
Use RETURN_THROWS() during ZPP in main, sapi, win32, and Zend
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 696cd9e249..5ad40eec1e 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -116,7 +116,7 @@ PHP_FUNCTION(header_register_callback)
zval *callback_func;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &callback_func) == FAILURE) {
- return;
+ RETURN_THROWS();
}
if (!zend_is_callable(callback_func, 0, NULL)) {