parrotcode: PHP streamsfuncs Standard Library | |
Contents | Language Implementations | Pipp |
php_streamsfuncs.pir - PHP streamsfuncs Standard Library
resource stream_context_create([array options])
resource stream_context_get_default([array options])
array stream_context_get_options(resource context|resource stream)
bool stream_context_set_option(resource context|resource stream, string wrappername, string optionname, mixed value)
bool stream_context_set_params(resource context|resource stream, array options)
long stream_copy_to_stream(resource source, resource dest [, long maxlen [, long pos]])
resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
bool stream_filter_remove(resource stream_filter)
long stream_get_contents(resource source [, long maxlen [, long offset]])
string stream_get_line(resource stream, int maxlen [, string ending])
array stream_get_meta_data(resource fp)
array stream_get_transports()
array stream_get_wrappers()
bool stream_is_local(resource stream|string url)
int stream_select(array &read_streams, array &write_streams, array &except_streams, int tv_sec[, int tv_usec])
bool stream_set_blocking(resource socket, int mode)
bool stream_set_timeout(resource stream, int seconds, int microseconds)
int stream_set_write_buffer(resource fp, int buffer)
resource stream_socket_accept(resource serverstream, [ double timeout, string &peername ])
resource stream_socket_client(string remoteaddress [, long &errcode, string &errstring, double timeout, long flags, resource context])
int stream_socket_enable_crypto(resource stream, bool enable [, int cryptokind, resource sessionstream])
string stream_socket_get_name(resource stream, bool want_peer)
array stream_socket_pair(int domain, int type, int protocol)
string stream_socket_recvfrom(resource stream, long amount [, long flags [, string &remote_addr]])
long stream_socket_sendto(resouce stream, string data [, long flags [, string target_addr]])
resource stream_socket_server(string localaddress [, long &errcode, string &errstring, long flags, resource context])
int stream_socket_shutdown(resource stream, int how)
|