Lines Matching refs:current_zval
69 if (!Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_free_line()
70 zval_ptr_dtor(&intern->u.file.current_zval); in spl_filesystem_file_free_line()
71 ZVAL_UNDEF(&intern->u.file.current_zval); in spl_filesystem_file_free_line()
2014 …zend_long line_add = (intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)) ? 1 … in spl_filesystem_file_read()
2129 if (!Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_read_csv()
2130 zval_ptr_dtor(&intern->u.file.current_zval); in spl_filesystem_file_read_csv()
2131 ZVAL_UNDEF(&intern->u.file.current_zval); in spl_filesystem_file_read_csv()
2134 …v(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval); in spl_filesystem_file_read_csv()
2137 value = &intern->u.file.current_zval; in spl_filesystem_file_read_csv()
2165 if (intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_read_line_ex()
2176 ZVAL_COPY(&intern->u.file.current_zval, value); in spl_filesystem_file_read_line_ex()
2192 } else if (!Z_ISUNDEF(intern->u.file.current_zval)) { in spl_filesystem_file_is_empty_line()
2193 switch(Z_TYPE(intern->u.file.current_zval)) { in spl_filesystem_file_is_empty_line()
2195 return Z_STRLEN(intern->u.file.current_zval) == 0; in spl_filesystem_file_is_empty_line()
2198 && zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 1) { in spl_filesystem_file_is_empty_line()
2202 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line()
2205 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line()
2208 return zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 0; in spl_filesystem_file_is_empty_line()
2386 RETURN_BOOL(intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)); in SPL_METHOD()
2431 if (!intern->u.file.current_line && Z_ISUNDEF(intern->u.file.current_zval)) { in SPL_METHOD()
2434 …SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || Z_ISUNDEF(intern->u.file.current_zval))) { in SPL_METHOD()
2436 } else if (!Z_ISUNDEF(intern->u.file.current_zval)) { in SPL_METHOD()
2437 zval *value = &intern->u.file.current_zval; in SPL_METHOD()