流是通用化文件、网络、数据压缩和其他共享一组通用功能和用途的操作的方式。在最简单的定义中,流是表现出可流式传输行为的资源对象。也就是说,它可以以线性方式读取或写入,并且可以 fseek() 到流中的任意位置。
包装器是告诉流如何处理特定协议/编码的附加代码。
Stream 函数是 PHP 核心的一部分。使用这些功能无需安装。
Function | Description |
---|---|
set_socket_blocking() | Deprecated in PHP 5.4, and removed in PHP 7.0. Alias of stream_set_blocking() |
stream_bucket_prepend() | |
stream_context_create() | |
stream_context_get_default() | |
stream_context_get_options() | |
stream_context_get_params() | |
stream_context_set_default() | |
stream_context_set_options() | |
stream_context_set_params() | |
stream_copy_to_stream() | Copies data from one stream to another |
stream_filter_append() | Appends a filter to a stream |
stream_filter_prepend() | |
stream_filter_register() | |
stream_filter_remove() | |
stream_get_contents() | |
stream_get_filters() | |
stream_get_line() | |
stream_get_meta_data() | |
stream_get_transports() | |
stream_get_wrappers() | |
stream_is_local() | |
stream_isatty() | |
stream_notification_callback() | |
stream_register_wrapper() | Alias of stream_wrapper_register() |
stream_resolve_include_path() | |
stream_select() | |
stream_set_blocking() | |
stream_set_chunk_size() | |
stream_set_read_buffer() | |
stream_set_timeout() | |
stream_set_write_buffer() | |
stream_socket_accept() | |
stream_socket_client() | |
stream_socket_enable_crypto() | |
stream_socket_get_name() | |
stream_socket_pair() | |
stream_socket_recvfrom() | |
stream_socket_sendto() | |
stream_socket_server() | |
stream_socket_shutdown() | |
stream_supports_lock() | |
stream_wrapper_register() | |
stream_wrapper_restore() | |
stream_wrapper_unregister() |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!