<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Stream Errors</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="stream.contexts.html">Stream Contexts</a></div> <div class="next" style="text-align: right; float: right;"><a href="stream.examples.html">Examples</a></div> <div class="up"><a href="book.stream.html">Streams</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="stream.errors" class="chapter"> <h1>Stream Errors</h1> <p class="para"> As with any file or socket related function, an operation on a stream may fail for a variety of normal reasons (i.e.: Unable to connect to remote host, file not found, etc...). A stream related call may also fail because the desired stream is not registered on the running system. See the array returned by <span class="function"><a href="function.stream-get-wrappers.html" class="function">stream_get_wrappers()</a></span> for a list of streams supported by your installation of PHP. As with most PHP internal functions if a failure occurs an <strong><code>E_WARNING</code></strong> message will be generated describing the nature of the error. </p> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="stream.contexts.html">Stream Contexts</a></div> <div class="next" style="text-align: right; float: right;"><a href="stream.examples.html">Examples</a></div> <div class="up"><a href="book.stream.html">Streams</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>