We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e1e5c6 commit c1922e8Copy full SHA for c1922e8
ext/standard/proc_open.c
@@ -462,7 +462,7 @@ static char *create_win_command_from_args(HashTable *args)
462
463
static int get_option(zval *other_options, char *option_name)
464
{
465
- zval *item = zend_hash_str_find(Z_ARRVAL_P(other_options), option_name, strlen(option_name));
+ zval *item = zend_hash_str_find_deref(Z_ARRVAL_P(other_options), option_name, strlen(option_name));
466
if (item != NULL) {
467
if (Z_TYPE_P(item) == IS_TRUE || ((Z_TYPE_P(item) == IS_LONG) && Z_LVAL_P(item))) {
468
return 1;
0 commit comments