Generator::__wakeup
Socket context options
Language Reference
PHP Manual

# Context options and parameters

PHP offers various context options and parameters which can be used with all filesystem and stream wrappers. The context is created with stream_context_create. Options are set with stream_context_set_option and parameters with stream_context_set_params.

Table of Contents

- Socket context options — Socket context option listing
- HTTP context options — HTTP context option listing
- FTP context options — FTP context option listing
- SSL context options — SSL context option listing
- CURL context options — CURL context option listing
- Phar context options — Phar context option listing
- Context parameters — Context parameter listing