Searched refs:zmode (Results 1 – 1 of 1) sorted by relevance
/PHP-8.4/ext/standard/ |
H A D | proc_open.c | 830 static zend_result set_proc_descriptor_to_pipe(descriptorspec_item *desc, zend_string *zmode) in set_proc_descriptor_to_pipe() argument 841 if (!zend_string_starts_with_literal(zmode, "w")) { in set_proc_descriptor_to_pipe() 854 if (ZSTR_LEN(zmode) >= 2 && ZSTR_VAL(zmode)[1] == 'b') in set_proc_descriptor_to_pipe() 983 zend_string *zmode = NULL, *zfile = NULL; in set_proc_descriptor_from_array() local 988 zmode = get_string_parameter(descitem, 1, "mode parameter for 'pipe'"); in set_proc_descriptor_from_array() 989 if (zmode == NULL) { in set_proc_descriptor_from_array() 992 retval = set_proc_descriptor_to_pipe(&descriptors[ndesc], zmode); in set_proc_descriptor_from_array() 1001 if ((zmode = get_string_parameter(descitem, 2, "mode parameter for 'file'")) == NULL) { in set_proc_descriptor_from_array() 1004 retval = set_proc_descriptor_to_file(&descriptors[ndesc], zfile, zmode); in set_proc_descriptor_from_array() 1031 if (zmode) zend_string_release(zmode); in set_proc_descriptor_from_array()
|
Completed in 8 milliseconds