streamWrapper (class)
The streamWrapper class
Introduction
(PHP 4 >= 4.3.2, PHP 5, PHP 7)
Allows you to implement your own protocol handlers and streams for use with all the other filesystem functions (such as fopen(), fread() etc.).
Note:
This is NOT a real class, only a prototype of how a class defining its own protocol should be.
Note:
Implementing the methods in other ways than described here can lead to undefined behaviour.
An instance of this class is initialized as soon as a stream fun