Lines Matching refs:open_mode
138 if (intern->u.file.open_mode) { in spl_filesystem_object_free_storage()
139 zend_string_release(intern->u.file.open_mode); in spl_filesystem_object_free_storage()
316 zend_string_release(intern->u.file.open_mode); in spl_filesystem_file_open()
317 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
324 …am_open_wrapper_ex(ZSTR_VAL(intern->file_name), ZSTR_VAL(intern->u.file.open_mode), (use_include_p… in spl_filesystem_file_open()
330 zend_string_release(intern->u.file.open_mode); in spl_filesystem_file_open()
331 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
533 zend_string *open_mode = ZSTR_CHAR('r'); in spl_filesystem_object_create_type() local
537 &open_mode, &use_include_path, &resource) == FAILURE in spl_filesystem_object_create_type()
551 ZVAL_STR_COPY(&arg2, open_mode); in spl_filesystem_object_create_type()
567 intern->u.file.open_mode = zend_string_copy(open_mode); in spl_filesystem_object_create_type()
671 ZVAL_STR_COPY(&tmp, intern->u.file.open_mode); in spl_filesystem_object_get_debug_info()
2029 zend_string *open_mode = ZSTR_CHAR('r'); in PHP_METHOD() local
2034 intern->u.file.open_mode = ZSTR_CHAR('r'); in PHP_METHOD()
2037 &intern->file_name, &open_mode, in PHP_METHOD()
2039 intern->u.file.open_mode = NULL; in PHP_METHOD()
2044 intern->u.file.open_mode = zend_string_copy(open_mode); in PHP_METHOD()
2091 intern->u.file.open_mode = zend_string_init("wb", sizeof("wb")-1, 0); in PHP_METHOD()