PHP provides a variety of context options and parameters that can be used with all file systems or data stream encapsulation protocols. Context is created by stream_context_create(). Options can be set through stream_context_set_option() and parameters can be set through stream_context_set_params().
Socket context options — List of Socket context options
HTTP context options — List of HTTP context options
FTP context options — List of FTP context options
SSL context options — List of SSL context options
CURL context options — List of CURL context options
Phar context option — Phar context option list
Context parameter — Context parameter list