NAME ^

php_streamsfuncs.pir - PHP streamsfuncs Standard Library

DESCRIPTION ^

Functions ^

resource stream_context_create([array options])
Create a file context and optionally set parametersNOT IMPLEMENTED.
resource stream_context_get_default([array options])
Get a handle on the default file/stream context and optionally set parametersNOT IMPLEMENTED.
array stream_context_get_options(resource context|resource stream)
Retrieve options for a stream/wrapper/contextNOT IMPLEMENTED.
bool stream_context_set_option(resource context|resource stream, string wrappername, string optionname, mixed value)
Set an option for a wrapperNOT IMPLEMENTED.
bool stream_context_set_params(resource context|resource stream, array options)
Set parameters for a file contextNOT IMPLEMENTED.
long stream_copy_to_stream(resource source, resource dest [, long maxlen [, long pos]])
Reads up to maxlen bytes from source stream and writes them to dest stream.NOT IMPLEMENTED.
resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
Append a filter to a streamNOT IMPLEMENTED.
resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
Prepend a filter to a streamNOT IMPLEMENTED.
bool stream_filter_remove(resource stream_filter)
Flushes any data in the filter's internal buffer, removes it from the chain, and frees the resourceNOT IMPLEMENTED.
long stream_get_contents(resource source [, long maxlen [, long offset]])
Reads all remaining bytes (or up to maxlen bytes) from a stream and returns them as a string.NOT IMPLEMENTED.
string stream_get_line(resource stream, int maxlen [, string ending])
Read up to maxlen bytes from a stream or until the ending string is foundNOT IMPLEMENTED.
array stream_get_meta_data(resource fp)
Retrieves header/meta data from streams/file pointersNOT IMPLEMENTED.
array stream_get_transports()
Retrieves list of registered socket transportsNOT IMPLEMENTED.
array stream_get_wrappers()
Retrieves list of registered stream wrappersNOT IMPLEMENTED.
bool stream_is_local(resource stream|string url)
NOT IMPLEMENTED.
int stream_select(array &read_streams, array &write_streams, array &except_streams, int tv_sec[, int tv_usec])
Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usecNOT IMPLEMENTED.
bool stream_set_blocking(resource socket, int mode)
Set blocking/non-blocking mode on a socket or streamNOT IMPLEMENTED.
bool stream_set_timeout(resource stream, int seconds, int microseconds)
Set timeout on stream read to seconds + microseondsNOT IMPLEMENTED.
int stream_set_write_buffer(resource fp, int buffer)
Set file write bufferNOT IMPLEMENTED.
resource stream_socket_accept(resource serverstream, [ double timeout, string &peername ])
Accept a client connection from a server socketNOT IMPLEMENTED.
resource stream_socket_client(string remoteaddress [, long &errcode, string &errstring, double timeout, long flags, resource context])
Open a client connection to a remote addressNOT IMPLEMENTED.
int stream_socket_enable_crypto(resource stream, bool enable [, int cryptokind, resource sessionstream])
Enable or disable a specific kind of crypto on the streamNOT IMPLEMENTED.
string stream_socket_get_name(resource stream, bool want_peer)
Returns either the locally bound or remote name for a socket streamNOT IMPLEMENTED.
array stream_socket_pair(int domain, int type, int protocol)
Creates a pair of connected, indistinguishable socket streamsNOT IMPLEMENTED.
string stream_socket_recvfrom(resource stream, long amount [, long flags [, string &remote_addr]])
Receives data from a socket streamNOT IMPLEMENTED.
long stream_socket_sendto(resouce stream, string data [, long flags [, string target_addr]])
Send data to a socket stream. If target_addr is specified it must be in dotted quad (or [ipv6]) formatNOT IMPLEMENTED.
resource stream_socket_server(string localaddress [, long &errcode, string &errstring, long flags, resource context])
Create a server socket bound to localaddressNOT IMPLEMENTED.
int stream_socket_shutdown(resource stream, int how)
causes all or part of a full-duplex connection on the socket associated with stream to be shut down. If how is SHUT_RD, further receptions will be disallowed. If how is SHUT_WR, further transmissions will be disallowed. If how is SHUT_RDWR, further receptions and transmissions will be disallowed.NOT IMPLEMENTED.


parrot