You might want (or need) to implement your own new kind of Stream if:
- • PHP does not provide one for you.
- • It is too complicated to re-use a stock implementation.
It is a good idea to re-use the PHP provided implementations for plain files
and network streams because:
- • Handle platform specific quirks.
- • Support advanced features (casting, memory mapping).
- • Save you time and effort!