Searched refs:zmode (Results 1 – 1 of 1) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | proc_open.c | 719 static int set_proc_descriptor_to_pipe(descriptorspec_item *desc, zend_string *zmode) in set_proc_descriptor_to_pipe() argument 730 if (strncmp(ZSTR_VAL(zmode), "w", 1) != 0) { in set_proc_descriptor_to_pipe() 743 if (ZSTR_LEN(zmode) >= 2 && ZSTR_VAL(zmode)[1] == 'b') in set_proc_descriptor_to_pipe() 872 zend_string *zmode = NULL, *zfile = NULL; in set_proc_descriptor_from_array() local 876 zmode = get_string_parameter(descitem, 1, "mode parameter for 'pipe'"); in set_proc_descriptor_from_array() 877 if (zmode == NULL) { in set_proc_descriptor_from_array() 880 retval = set_proc_descriptor_to_pipe(&descriptors[ndesc], zmode); 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() 892 retval = set_proc_descriptor_to_file(&descriptors[ndesc], zfile, zmode); in set_proc_descriptor_from_array() 919 if (zmode) zend_string_release(zmode); in set_proc_descriptor_from_array()
|
Completed in 6 milliseconds