PHP Stream Functions
From w3cyberlearnings
# | Function | Description |
---|---|---|
1 | set_socket_blocking | Alias of stream_set_blocking |
2 | stream_bucket_append | Append bucket to brigade |
3 | stream_bucket_make_writeable | Return a bucket object from the brigade for operating on |
4 | stream_bucket_new | Create a new bucket for use on the current stream |
5 | stream_bucket_prepend | Prepend bucket to brigade |
6 | stream_context_create | Creates a stream context |
7 | stream_context_get_default | Retrieve the default stream context |
8 | stream_context_get_options | Retrieve options for a stream/wrapper/context |
9 | stream_context_get_params | Retrieves parameters from a context |
10 | stream_context_set_default | Set the default stream context |
11 | stream_context_set_option | Sets an option for a stream/wrapper/context |
12 | stream_context_set_params | Set parameters for a stream/wrapper/context |
13 | stream_copy_to_stream | Copies data from one stream to another |
14 | stream_encoding | Set character set for stream encoding |
15 | stream_filter_append | Attach a filter to a stream |
16 | stream_filter_prepend | Attach a filter to a stream |
17 | stream_filter_register | Register a user defined stream filter |
18 | stream_filter_remove | Remove a filter from a stream |
19 | stream_get_contents | Reads remainder of a stream into a string |
20 | stream_get_filters | Retrieve list of registered filters |
21 | stream_get_line | Gets line from stream resource up to a given delimiter |
22 | stream_get_meta_data | Retrieves header/meta data from streams/file pointers |
23 | stream_get_transports | Retrieve list of registered socket transports |
24 | stream_get_wrappers | Retrieve list of registered streams |
25 | stream_is_local | Checks if a stream is a local stream |
26 | stream_notification_callback | A callback function for the notification context paramater |
27 | stream_register_wrapper | Alias of stream_wrapper_register |
28 | stream_resolve_include_path | Resolve filename against the include path |
29 | stream_select | Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec |
30 | stream_set_blocking | Set blocking/non-blocking mode on a stream |
31 | stream_set_chunk_size | Set the stream chunk size |
32 | stream_set_read_buffer | Set read file buffering on the given stream |
33 | stream_set_timeout | Set timeout period on a stream |
34 | stream_set_write_buffer | Sets write file buffering on the given stream |
35 | stream_socket_accept | Accept a connection on a socket created by stream_socket_server |
36 | stream_socket_client | Open Internet or Unix domain socket connection |
37 | stream_socket_enable_crypto | Turns encryption on/off on an already connected socket |
38 | stream_socket_get_name | Retrieve the name of the local or remote sockets |
39 | stream_socket_pair | Creates a pair of connected, indistinguishable socket streams |
40 | stream_socket_recvfrom | Receives data from a socket, connected or not |
41 | stream_socket_sendto | Sends a message to a socket, whether it is connected or not |
42 | stream_socket_server | Create an Internet or Unix domain server socket |
43 | stream_socket_shutdown | Shutdown a full-duplex connection |
44 | stream_supports_lock | Tells whether the stream supports locking. |
45 | stream_wrapper_register | Register a URL wrapper implemented as a PHP class |
46 | stream_wrapper_restore | Restores a previously unregistered built-in wrapper |
47 | stream_wrapper_unregister | Unregister a URL wrapper |