The stream context provides information about the data being transported over a given stream and can be used to pass configuration options to which of the following aspects of the stream? (Choose 2)
[4873,4874]
Correct:
--> Stream Transports
--> File Wrappers
The correct answers are B and C. Stream contexts can be created and used to modify the
behavior of the file wrapper being used with a stream, or the transport of the stream itself.
Usually, creating a stream context is not necessary, as PHP does a very good job of
managing most common situations for you.