Home  >  Article  >  Backend Development  >  php context (Context) options and parameters

php context (Context) options and parameters

伊谢尔伦
伊谢尔伦Original
2016-11-22 10:53:561703browse

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


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn