From 817fbe8186d3b3a908a3283f9656437f7fa2b229 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 29 Oct 2019 13:36:03 +0100 Subject: [PATCH] Remove some RETURN_FALSE on exception --- ext/standard/proc_open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 166b4b0398..4906b3f828 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -245,7 +245,7 @@ PHP_FUNCTION(proc_terminate) ZEND_PARSE_PARAMETERS_END(); if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open)) == NULL) { - RETURN_FALSE; + return; } #ifdef PHP_WIN32 @@ -276,7 +276,7 @@ PHP_FUNCTION(proc_close) ZEND_PARSE_PARAMETERS_END(); if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open)) == NULL) { - RETURN_FALSE; + return; } FG(pclose_wait) = 1; @@ -306,7 +306,7 @@ PHP_FUNCTION(proc_get_status) ZEND_PARSE_PARAMETERS_END(); if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open)) == NULL) { - RETURN_FALSE; + return; } array_init(return_value); -- 2.50.1