Skip to content

Commit 817fbe8

Browse files
committed
Remove some RETURN_FALSE on exception
1 parent 6719d3e commit 817fbe8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/standard/proc_open.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ PHP_FUNCTION(proc_terminate)
245245
ZEND_PARSE_PARAMETERS_END();
246246

247247
if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open)) == NULL) {
248-
RETURN_FALSE;
248+
return;
249249
}
250250

251251
#ifdef PHP_WIN32
@@ -276,7 +276,7 @@ PHP_FUNCTION(proc_close)
276276
ZEND_PARSE_PARAMETERS_END();
277277

278278
if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open)) == NULL) {
279-
RETURN_FALSE;
279+
return;
280280
}
281281

282282
FG(pclose_wait) = 1;
@@ -306,7 +306,7 @@ PHP_FUNCTION(proc_get_status)
306306
ZEND_PARSE_PARAMETERS_END();
307307

308308
if ((proc = (struct php_process_handle *)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open)) == NULL) {
309-
RETURN_FALSE;
309+
return;
310310
}
311311

312312
array_init(return_value);

0 commit comments

Comments
 (0)