| Start | ||||
|---|---|---|---|---|
| Registering a stream wrapper A stream wrapper provides a handler for one or more specific schemes. The example below shows a simple stream wrapper that sends This example only shows some examples of what a generic stream wrapper would contain. These are not all methods available. A full list of methods that can be implemented can be found at http://php.net/streamWrapper (opens new window). Syntax
Parameters
RemarksStreams are essentially a transfer of data between an origin and a destination, to paraphrase Josh Lockhart in his book Modern PHP. The origin and the destination can be
or any other resource available via PHP's stream wrappers (opens new window). Examples of available stream wrappers (
The scheme (origin) is the identifier of the stream's wrapper. For example, for the file system this is |
Read Article
https://develop.horje.com/learn/1434/reference