PHP 8.4.1 Released!

所支持的套接字传输器列表

目录

以下是 PHP 内置用于基于流的套接字函数例如 fsockopen()stream_socket_client() 的各种 URL 风格的套接字传输器。这些传输器不适用于 Socket 扩展库的Socket 函数

要得到自己的 PHP 版本中所安装的传输器列表,使用 stream_get_transports()

添加备注

用户贡献的备注 1 note

up
3
alefinvest at outlook dot com
3 years ago
That was hard to fetch this page mentioned in note by other user long time ago.
I intended to read Appendix P to find some code examples.
Wondering how to implement custom transport extension for php on our server tto be used with some nowadays technologies research.
https://www.php.net/manual/ru/function.stream-context-create.php#75211
To Top