Skip to content

Commit

Permalink
Fix nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed Jul 19, 2019
1 parent 0652478 commit 5bf6491
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions thirdparty/php/standard/proc_open.cc
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ PHP_FUNCTION(swoole_proc_open)
ZEND_PARSE_PARAMETERS_START(3, 6)
Z_PARAM_STRING(command, command_len)
Z_PARAM_ARRAY(descriptorspec)
#if PHP_VERSION_ID >= 70400
Z_PARAM_ZVAL(pipes)
#else
Z_PARAM_ZVAL_DEREF(pipes)
#endif
Z_PARAM_OPTIONAL
Z_PARAM_STRING_EX(cwd, cwd_len, 1, 0)
Z_PARAM_ARRAY_EX(environment, 1, 0)
Expand Down

0 comments on commit 5bf6491

Please sign in to comment.