I would like to know how it works and what the concept of streams is. I already used streams to get the input, I also know there are others to control the output. However, I would like to know the theory and where the idea comes from in PHP.
NOTE: I would like to know the idea of streams in general and not only in relation to input and output through the protocol php://
.
Thanks in advance.