@@ -362,34 +362,41 @@ See also [`addTimer()`](#addtimer) for more details.
362
362
363
363
An ` ext-event ` based event loop.
364
364
365
- This uses the [ ` event ` PECL extension] ( https://pecl.php.net/package/event ) .
366
- It supports the same backends as libevent.
365
+ This uses the [ ` event ` PECL extension] ( https://pecl.php.net/package/event ) ,
366
+ that provides an interface to ` libevent ` library.
367
+ ` libevent ` itself supports a number of system-specific backends (epoll, kqueue).
367
368
368
369
This loop is known to work with PHP 5.4 through PHP 7+.
369
370
370
371
#### ExtEvLoop
371
372
372
373
An ` ext-ev ` based event loop.
373
374
374
- This loop uses the [ ` ev ` PECL extension] ( https://pecl.php.net/package/ev ) , that
375
- provides an interface to ` libev ` library.
375
+ This loop uses the [ ` ev ` PECL extension] ( https://pecl.php.net/package/ev ) ,
376
+ that provides an interface to ` libev ` library.
377
+ ` libev ` itself supports a number of system-specific backends (epoll, kqueue).
378
+
376
379
377
380
This loop is known to work with PHP 5.4 through PHP 7+.
378
381
379
382
#### ExtUvLoop
380
383
381
384
An ` ext-uv ` based event loop.
382
385
383
- This loop uses the [ ` uv ` PECL extension] ( https://pecl.php.net/package/uv ) , that
384
- provides an interface to ` libuv ` library.
386
+ This loop uses the [ ` uv ` PECL extension] ( https://pecl.php.net/package/uv ) ,
387
+ that provides an interface to ` libuv ` library.
388
+ ` libuv ` itself supports a number of system-specific backends (epoll, kqueue).
385
389
386
390
This loop is known to work with PHP 7+.
387
391
388
- #### ExtLibeventLoop
392
+ #### ~~ ExtLibeventLoop~~
393
+
394
+ > Deprecated since v1.2.0, use [ ` ExtEventLoop ` ] ( #exteventloop ) instead.
389
395
390
396
An ` ext-libevent ` based event loop.
391
397
392
- This uses the [ ` libevent ` PECL extension] ( https://pecl.php.net/package/libevent ) .
398
+ This uses the [ ` libevent ` PECL extension] ( https://pecl.php.net/package/libevent ) ,
399
+ that provides an interface to ` libevent ` library.
393
400
` libevent ` itself supports a number of system-specific backends (epoll, kqueue).
394
401
395
402
This event loop does only work with PHP 5.
@@ -408,12 +415,15 @@ As such, it's recommended to use `stream_set_read_buffer($stream, 0);`
408
415
to disable PHP's internal read buffer in this case.
409
416
See also [ ` addReadStream() ` ] ( #addreadstream ) for more details.
410
417
411
- #### ExtLibevLoop
418
+ #### ~~ ExtLibevLoop~~
419
+
420
+ > Deprecated since v1.2.0, use [ ` ExtEvLoop ` ] ( #extevloop ) instead.
412
421
413
422
An ` ext-libev ` based event loop.
414
423
415
- This uses an [ unofficial ` libev ` extension] ( https://github.com/m4rw3r/php-libev ) .
416
- It supports the same backends as libevent.
424
+ This uses an [ unofficial ` libev ` extension] ( https://github.com/m4rw3r/php-libev ) ,
425
+ that provides an interface to ` libev ` library.
426
+ ` libev ` itself supports a number of system-specific backends (epoll, kqueue).
417
427
418
428
This loop does only work with PHP 5.
419
429
An update for PHP 7 is [ unlikely] ( https://github.com/m4rw3r/php-libev/issues/8 )
0 commit comments