<HTML ><HEAD ><TITLE >Streams Common API Reference</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Streams API for PHP Extension Authors" HREF="streams.html"><LINK REL="PREVIOUS" TITLE="Streams as Resources" HREF="streams.resources.html"><LINK REL="NEXT" TITLE="php_stream_stat_path" HREF="streams.php-stream-stat-path.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="streams.resources.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 43. Streams API for PHP Extension Authors</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="streams.php-stream-stat-path.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="stream.common-api" ></A >Streams Common API Reference</H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="streams.php-stream-stat-path.html" >php_stream_stat_path</A > -- Gets the status for a file or URL</DT ><DT ><A HREF="streams.php-stream-stat.html" >php_stream_stat</A > -- Gets the status for the underlying storage associated with a stream</DT ><DT ><A HREF="streams.php-stream-open-wrapper.html" >php_stream_open_wrapper</A > -- Opens a stream on a file or URL</DT ><DT ><A HREF="streams.php-stream-read.html" >php_stream_read</A > -- Read a number of bytes from a stream into a buffer</DT ><DT ><A HREF="streams.php-stream-write.html" >php_stream_write</A > -- Write a number of bytes from a buffer to a stream</DT ><DT ><A HREF="streams.php-stream-eof.html" >php_stream_eof</A > -- Check for an end-of-file condition on a stream</DT ><DT ><A HREF="streams.php-stream-getc.html" >php_stream_getc</A > -- Read a single byte from a stream</DT ><DT ><A HREF="streams.php-stream-gets.html" >php_stream_gets</A > -- Read a line of data from a stream into a buffer</DT ><DT ><A HREF="streams.php-stream-close.html" >php_stream_close</A > -- Close a stream</DT ><DT ><A HREF="streams.php-stream-flush.html" >php_stream_flush</A > -- Flush stream buffers to storage</DT ><DT ><A HREF="streams.php-stream-seek.html" >php_stream_seek</A > -- Reposition a stream</DT ><DT ><A HREF="streams.php-stream-tell.html" >php_stream_tell</A > -- Determine the position of a stream</DT ><DT ><A HREF="streams.php-stream-copy-to-stream.html" >php_stream_copy_to_stream</A > -- Copy data from one stream to another</DT ><DT ><A HREF="streams.php-stream-copy-to-mem.html" >php_stream_copy_to_mem</A > -- Copy data from stream and into an allocated buffer</DT ><DT ><A HREF="streams.php-stream-make-seekable.html" >php_stream_make_seekable</A > -- Convert a stream into a stream is seekable</DT ><DT ><A HREF="streams.php-stream-cast.html" >php_stream_cast</A > -- Convert a stream into another form, such as a FILE* or socket</DT ><DT ><A HREF="streams.php-stream-can-cast.html" >php_stream_can_cast</A > -- Determines if a stream can be converted into another form, such as a FILE* or socket</DT ><DT ><A HREF="streams.php-stream-is-persistent.html" >php_stream_is_persistent</A > -- Determines if a stream is a persistent stream</DT ><DT ><A HREF="streams.php-stream-is.html" >php_stream_is</A > -- Determines if a stream is of a particular type</DT ><DT ><A HREF="streams.php-stream-passthru.html" >php_stream_passthru</A > -- Outputs all remaining data from a stream</DT ><DT ><A HREF="streams.php-register-url-stream-wrapper.html" >php_register_url_stream_wrapper</A > -- Registers a wrapper with the Streams API</DT ><DT ><A HREF="streams.php-unregister-url-stream-wrapper.html" >php_unregister_url_stream_wrapper</A > -- Un-registers a wrapper from the Streams API</DT ><DT ><A HREF="streams.php-stream-open-wrapper-ex.html" >php_stream_open_wrapper_ex</A > -- Opens a stream on a file or URL, specifying context</DT ><DT ><A HREF="streams.php-stream-open-wrapper-as-file.html" >php_stream_open_wrapper_as_file</A > -- Opens a stream on a file or URL, and converts to a FILE*</DT ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="streams.resources.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="streams.php-stream-stat-path.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Streams as Resources</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="streams.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >php_stream_stat_path</TD ></TR ></TABLE ></DIV ></BODY ></HTML >