From 345703724c633fb8c1b34e1299bf3375f000c398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Tue, 31 Dec 2019 11:27:02 +0100 Subject: Use RETURN_THROWS() during ZPP in most of the extensions Except for some bigger ones: reflection, sodium, spl --- ext/posix/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/posix') diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 7e97f4ae69..787308d1ce 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -268,7 +268,7 @@ ZEND_TSRMLS_CACHE_DEFINE() ZEND_GET_MODULE(posix) #endif -#define PHP_POSIX_NO_ARGS if (zend_parse_parameters_none() == FAILURE) return; +#define PHP_POSIX_NO_ARGS if (zend_parse_parameters_none() == FAILURE) RETURN_THROWS(); #define PHP_POSIX_RETURN_LONG_FUNC(func_name) \ PHP_POSIX_NO_ARGS \ -- cgit v1.2.1