Implementing Streams
ONE OF THE MOST POWERFUL FEATURES ABOUT PHP streams is their ability to access a multitude of data sourcesplainfile, compressed file, clear-channel network, encrypted network, named pipes, and domain sockets to name a fewfrom a single, unified API at both the userspace and internals layers.