Lines Matching refs:open_mode
164 if (intern->u.file.open_mode) { in spl_filesystem_object_free_storage()
165 zend_string_release(intern->u.file.open_mode); in spl_filesystem_object_free_storage()
331 zend_string_release(intern->u.file.open_mode); in spl_filesystem_file_open()
332 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
339 …am_open_wrapper_ex(ZSTR_VAL(intern->file_name), ZSTR_VAL(intern->u.file.open_mode), (use_include_p… in spl_filesystem_file_open()
345 zend_string_release(intern->u.file.open_mode); in spl_filesystem_file_open()
346 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
540 zend_string *open_mode = ZSTR_CHAR('r'); in spl_filesystem_object_create_type() local
544 &open_mode, &use_include_path, &resource) == FAILURE in spl_filesystem_object_create_type()
558 ZVAL_STR_COPY(&arg2, open_mode); in spl_filesystem_object_create_type()
565 intern->u.file.open_mode = zend_string_copy(open_mode); in spl_filesystem_object_create_type()
660 ZVAL_STR_COPY(&tmp, intern->u.file.open_mode); in spl_filesystem_object_get_debug_info()
2026 zend_string *open_mode = ZSTR_CHAR('r'); in PHP_METHOD() local
2032 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "P|Sbr!", &file_name, &open_mode, &use_include_path, &s… in PHP_METHOD()
2042 intern->u.file.open_mode = zend_string_copy(open_mode); in PHP_METHOD()
2098 intern->u.file.open_mode = ZSTR_INIT_LITERAL("wb", 0); in PHP_METHOD()