Lines Matching refs:current_zval
67 if (!Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_free_line()
68 zval_ptr_dtor(&intern->u.file.current_zval); in spl_filesystem_file_free_line()
69 ZVAL_UNDEF(&intern->u.file.current_zval); in spl_filesystem_file_free_line()
1926 if (!Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_read_csv()
1927 zval_ptr_dtor(&intern->u.file.current_zval); in spl_filesystem_file_read_csv()
1928 ZVAL_UNDEF(&intern->u.file.current_zval); in spl_filesystem_file_read_csv()
1931 …v(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval); in spl_filesystem_file_read_csv()
1933 value = &intern->u.file.current_zval; in spl_filesystem_file_read_csv()
1961 if (intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_read_line_ex()
1971 ZVAL_COPY_DEREF(&intern->u.file.current_zval, value); in spl_filesystem_file_read_line_ex()
1987 } else if (!Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_is_empty_line()
1988 switch(Z_TYPE(intern->u.file.current_zval)) { in spl_filesystem_file_is_empty_line()
1990 return Z_STRLEN(intern->u.file.current_zval) == 0; in spl_filesystem_file_is_empty_line()
1993 && zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 1) { in spl_filesystem_file_is_empty_line()
1997 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line()
2000 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line()
2003 return zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 0; in spl_filesystem_file_is_empty_line()
2173 RETURN_BOOL(intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)); in PHP_METHOD()
2210 if (!intern->u.file.current_line && Z_ISUNDEF(intern->u.file.current_zval)) { in PHP_METHOD()
2213 …SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || Z_ISUNDEF(intern->u.file.current_zval))) { in PHP_METHOD()
2215 } else if (!Z_ISUNDEF(intern->u.file.current_zval)) { in PHP_METHOD()
2216 zval *value = &intern->u.file.current_zval; in PHP_METHOD()