diff options
Diffstat (limited to 'ext/standard/proc_open.c')
-rw-r--r-- | ext/standard/proc_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 3871dcc201..914ffbe985 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -529,7 +529,7 @@ PHP_FUNCTION(proc_open) uint32_t num_elems = zend_hash_num_elements(Z_ARRVAL_P(command_zv)); if (num_elems == 0) { zend_value_error("Command array must have at least one element"); - return; + RETURN_THROWS(); } #ifdef PHP_WIN32 |