Heim  >  Artikel  >  Backend-Entwicklung  >  php上下文(Context)选项和参数

php上下文(Context)选项和参数

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

PHP 提供了多种上下文选项和参数,可用于所有的文件系统或数据流封装协议。上下文(Context)由 stream_context_create() 创建。选项可通过stream_context_set_option() 设置,参数可通过 stream_context_set_params() 设置。

Socket context options — Socket上下文选项列表

HTTP context options — HTTP上下文选项列表

FTP context options — FTP上下文选项列表

SSL context options — SSL上下文选项列表

CURL context options — CURL 上下文选项列表

Phar 上下文(context)选项 — Phar 上下文(context)选项列表

Context 参数 — Context 参数列表


Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel:php支持的协议和封装协议Nächster Artikel:php 常用函数收集