Stream Contexts

A context is a set of parameters and
wrapper specific options which modify or enhance the
behavior of a stream. Contexts are created using
stream_context_create() and can be passed to most
filesystem related stream creation functions (i.e. fopen(),
file(), file_get_contents(), etc...).