47#define PHP_CSV_NO_ESCAPE EOF
48#define PHP_CSV_ESCAPE_ERROR -500
55#define META_DEF_BUFSIZE 8192
57#define PHP_FILE_USE_INCLUDE_PATH (1 << 0)
58#define PHP_FILE_IGNORE_NEW_LINES (1 << 1)
59#define PHP_FILE_SKIP_EMPTY_LINES (1 << 2)
60#define PHP_FILE_APPEND (1 << 3)
61#define PHP_FILE_NO_DEFAULT_CONTEXT (1 << 4)
64#define PHP_TIMEOUT_ULL_MAX ULLONG_MAX
66#define PHP_TIMEOUT_ULL_MAX UINT64_MAX
106#ifdef HAVE_GETHOSTBYNAME_R
107 struct hostent tmp_host_info;
109 size_t tmp_host_buf_len;
114#define FG(v) ZEND_TSRMG(file_globals_id, php_file_globals *, v)
115extern PHPAPI int file_globals_id;
117#define FG(v) (file_globals.v)
file(string $filename, int $flags=0, $context=null)
fseek($stream, int $offset, int $whence=SEEK_SET)
fwrite($stream, string $data, ?int $length=null)
fread($stream, int $length)
fgets($stream, ?int $length=null)
zend_ffi_ctype_name_buf buf
php_file_globals file_globals
#define PHP_MSHUTDOWN_FUNCTION
#define PHP_MINIT_FUNCTION
struct _php_stream php_stream
struct _php_stream_context php_stream_context
PHPAPI void php_fstat(php_stream *stream, zval *return_value)
PHPAPI HashTable * php_bc_fgetcsv_empty_line(void)
PHPAPI zend_result php_copy_file(const char *src, const char *dest)
PHPAPI int php_le_stream_context(void)
PHPAPI HashTable * php_fgetcsv(php_stream *stream, char delimiter, char enclosure, int escape_char, size_t buf_len, char *buf)
PHPAPI int php_csv_handle_escape_argument(const zend_string *escape_str, uint32_t arg_num)
PHPAPI ssize_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, int escape_char, zend_string *eol_str)
PHPAPI zend_result php_copy_file_ex(const char *src, const char *dest, int src_flags)
PHPAPI void php_flock_common(php_stream *stream, zend_long operation, uint32_t operation_arg_num, zval *wouldblock, zval *return_value)
PHPAPI zend_result php_copy_file_ctx(const char *src, const char *dest, int src_flags, php_stream_context *ctx)
php_meta_tags_token php_next_meta_token(php_meta_tags_data *)
enum _php_meta_tags_token php_meta_tags_token
struct _php_meta_tags_data php_meta_tags_data
HashTable * wrapper_errors
php_stream_context * default_context
const char * user_stream_current_filename
zend_long default_socket_timeout
HashTable * stream_filters
bool auto_detect_line_endings
HashTable * stream_wrappers
struct _zend_string zend_string
struct _zend_array HashTable
ZEND_RESULT_CODE zend_result