Введение
This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure.
Замечание:
Note, Windows support introduced in event-1.9.0 .
Version 1.0.0 introduces new object-oriented API (breaking backwards compatibility), and support of libevent 2+ including HTTP, DNS, OpenSSL and the event listener.
Замечание:
Note, event-1.0.0 and greater is not compatible with previous versions.
- Введение
- Установка и настройка
- Примеры
- Event flags
- About event persistence
- Event callbacks
- Constructing signal events
- The Event class
- The EventBase class
- The EventBuffer class
- The EventBufferEvent class
- About buffer event callbacks
- The EventConfig class
- The EventDnsBase class
- The EventHttp class
- The EventHttpConnection class
- The EventHttpRequest class
- The EventListener class
- The EventSslContext class
- The EventUtil class
Коментарии
PHP event service works at PHP 5.4+. Couldn't get event to work on a PHP 5.3.10 install.
To get event working (OS X as an example):
1. brew install libevent
2. sudo pecl install event
This is tricky because pecl yields both "event" and "libevent" packages. I was successful with "event" and not "libevent".