Home
last modified time | relevance | path

Searched refs:descitem (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/standard/
H A Dproc_open.c865 static int set_proc_descriptor_from_array(zval *descitem, descriptorspec_item *descriptors, in set_proc_descriptor_from_array() argument
867 zend_string *ztype = get_string_parameter(descitem, 0, "handle qualifier"); in set_proc_descriptor_from_array()
876 zmode = get_string_parameter(descitem, 1, "mode parameter for 'pipe'"); in set_proc_descriptor_from_array()
889 if ((zmode = get_string_parameter(descitem, 2, "mode parameter for 'file'")) == NULL) { in set_proc_descriptor_from_array()
895 zval *ztarget = zend_hash_index_find_deref(Z_ARRVAL_P(descitem), 1); in set_proc_descriptor_from_array()
1012 zval *descitem = NULL; in PHP_FUNCTION() local
1092 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(descriptorspec), nindex, str_index, descitem) { in PHP_FUNCTION()
1100 if (Z_TYPE_P(descitem) == IS_RESOURCE) { in PHP_FUNCTION()
1101 if (set_proc_descriptor_from_resource(descitem, &descriptors[ndesc], ndesc) == FAILURE) { in PHP_FUNCTION()
1104 } else if (Z_TYPE_P(descitem) == IS_ARRAY) { in PHP_FUNCTION()
[all …]

Completed in 6 milliseconds