mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
Fixed proc_open's reference argument
This commit is contained in:
parent
3e93cd9fd7
commit
ec30d8178d
@ -897,8 +897,11 @@ PHP_FUNCTION(proc_open)
|
||||
proc->env = env;
|
||||
|
||||
if (pipes != NULL) {
|
||||
ZEND_ASSERT(Z_ISREF_P(pipes));
|
||||
pipes = Z_REFVAL_P(pipes);
|
||||
zval_dtor(pipes);
|
||||
}
|
||||
}
|
||||
|
||||
array_init(pipes);
|
||||
|
||||
#if PHP_CAN_DO_PTS
|
||||
|
Loading…
Reference in New Issue
Block a user