summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-29 13:36:03 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-10-29 13:36:03 +0100
commit817fbe8186d3b3a908a3283f9656437f7fa2b229 (patch)
tree18ede15bb5a4f8a2cacd4fe204f19e11264018eb
parent6719d3e7184e712aceb00750b1befc5701af7c1b (diff)
downloadphp-git-817fbe8186d3b3a908a3283f9656437f7fa2b229.tar.gz
Remove some RETURN_FALSE on exception
-rw-r--r--ext/standard/proc_open.c6
1 files 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);