From: Nikita Popov Date: Tue, 29 Oct 2019 12:36:03 +0000 (+0100) Subject: Remove some RETURN_FALSE on exception X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=817fbe8186d3b3a908a3283f9656437f7fa2b229;p=php Remove some RETURN_FALSE on exception --- 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);