定制 symfony/polyfill-io-poll 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symfony/polyfill-io-poll

Composer 安装命令:

composer require symfony/polyfill-io-poll

包简介

Symfony polyfill for the Io\Poll API

README 文档

README

This component provides the Io\Poll API added to PHP 8.6 core, for PHP >= 8.1:

  • Io\Poll\Context, Io\Poll\Watcher and StreamPollHandle
  • Io\Poll\Backend and Io\Poll\Event enums
  • Io\IoException and the Io\Poll\*Exception hierarchy

The polyfill is backed by stream_select(), so only the Poll backend is available and edge-triggering is not supported. Event detection follows the semantics of the native poll backend as closely as select() allows: Event::Error is only reported for connection resets, Event::ReadHangUp is never reported, and a TCP half-close reports Read|HangUp where native reports plain Read. The phpt tests of the native implementation, borrowed from php-src, run against the polyfill as part of the test suite.

More information can be found in the main Polyfill README.

License

This library is released under the MIT license.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固