Lines Matching refs:open_mode
166 if (intern->u.file.open_mode) { in spl_filesystem_object_free_storage()
167 zend_string_release(intern->u.file.open_mode); in spl_filesystem_object_free_storage()
334 zend_string_release(intern->u.file.open_mode); in spl_filesystem_file_open()
335 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
342 …am_open_wrapper_ex(ZSTR_VAL(intern->file_name), ZSTR_VAL(intern->u.file.open_mode), (use_include_p… in spl_filesystem_file_open()
348 zend_string_release(intern->u.file.open_mode); in spl_filesystem_file_open()
349 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
547 zend_string *open_mode = ZSTR_CHAR('r'); in spl_filesystem_object_create_type() local
551 &open_mode, &use_include_path, &resource) == FAILURE in spl_filesystem_object_create_type()
565 ZVAL_STR_COPY(&arg2, open_mode); in spl_filesystem_object_create_type()
572 intern->u.file.open_mode = zend_string_copy(open_mode); in spl_filesystem_object_create_type()
680 ZVAL_STR_COPY(&tmp, intern->u.file.open_mode); in spl_filesystem_object_get_debug_info()
2038 zend_string *open_mode = ZSTR_CHAR('r'); in PHP_METHOD() local
2043 intern->u.file.open_mode = ZSTR_CHAR('r'); in PHP_METHOD()
2046 &intern->file_name, &open_mode, in PHP_METHOD()
2048 intern->u.file.open_mode = NULL; in PHP_METHOD()
2053 intern->u.file.open_mode = zend_string_copy(open_mode); in PHP_METHOD()
2100 intern->u.file.open_mode = ZSTR_INIT_LITERAL("wb", 0); in PHP_METHOD()