Php Common Stream function set Introduction _ PHP Tutorial

Source: Internet
Author: User
Introduction to Common Stream function sets in php. Stream_bucket_append function: adds the data stream_bucket_make_writeable function to the queue: returns a data object stream_bucket_new function from the operation queue: Creates a stream_bucket_append function for the current queue: adds data to the queue
Stream_bucket_make_writeable function: returns a data object from the operation queue.
Stream_bucket_new function: creates a new data for the current queue.
Stream_bucket_prepend function: Prepare Data to the queue
Stream_context_create function: create a data stream context
Stream_context_get_default function: obtains the default data stream context.
Stream_context_get_options function: gets the data stream settings.
Stream_context_set_option: Set the data stream, data packet, or context.
Stream_context_set_params function: sets parameters for data streams, data packets, or context.
Stream_copy_to_stream function: replicate data streams.
Stream_filter_append function: Adds a filter to the data stream.
Stream_filter_prepend function: Adds a filter to the data stream.
Stream_filter_register function: registers a data stream filter and runs it as a PHP class.
Stream_filter_remove function: removes a filter from a data stream.
Stream_get_contents function: read the remaining data from the data stream to the string
Stream_get_filters function: returns the list of registered data stream filters.
Stream_get_line function: obtains rows from data stream resources based on the given delimiters.
Stream_get_meta_data function: obtains the header/metadata from the Encapsulation Protocol file pointer.
Stream_get_transports function: return the registered Socket transport list
Stream_get_wrappers function: returns the list of registered data streams.
Stream_register_wrapper function: registers a URL Encapsulation Protocol implemented using the PHP class.
Stream_select function: receives data stream arrays and waits for their status to change.
Stream_set_blocking function: sets a data stream to congested or non-congested.
Stream_set_timeout function: sets the time-out of data streams.
Stream_set_write_buffer function: sets a buffer for the data stream.
Stream_socket_accept function: accepts the Socket connection created by the function stream _ socket_server ().
Stream_socket_client function: Opens the Socket connection of the network or UNIX host
Stream_socket_enable_crypto function: Enables or disables data encryption for a connected Socket.
Stream_socket_get_name function: get the local or network Socket name
Stream_socket_pair function: creates two non-differentiated Socket data stream connections.
Stream_socket_recvfrom function: obtains data from a Socket, regardless of whether it is connected or not.
Stream_socket_sendto function: sends data to the Socket, regardless of whether it is connected or not.
Stream_socket_server function: creates a network or UNIX Socket server.
Stream_wrapper_restore function: restores a previously logged-out data packet.
Stream_wrapper_unregister function: deregister a URL package

Stream_bucket_make_writeable function: returns a data object from the operation queue. stream_bucket_new function: creates one for the current queue...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.