@@ -22,8 +22,8 @@ single [`run()`](#run) call that is controlled by the user.
22
22
* [ Loop implementations] ( #loop-implementations )
23
23
* [ StreamSelectLoop] ( #streamselectloop )
24
24
* [ ExtEventLoop] ( #exteventloop )
25
- * [ ExtLibeventLoop] ( #extlibeventloop )
26
- * [ ExtLibevLoop] ( #extlibevloop )
25
+ * [ ~~ ExtLibeventLoop~~ ] ( #extlibeventloop )
26
+ * [ ~~ ExtLibevLoop~~ ] ( #extlibevloop )
27
27
* [ ExtEvLoop] ( #extevloop )
28
28
* [ ExtUvLoop] ( #extuvloop )
29
29
* [ LoopInterface] ( #loopinterface )
@@ -392,34 +392,41 @@ See also [`addTimer()`](#addtimer) for more details.
392
392
393
393
An ` ext-event ` based event loop.
394
394
395
- This uses the [ ` event ` PECL extension] ( https://pecl.php.net/package/event ) .
396
- It supports the same backends as libevent.
395
+ This uses the [ ` event ` PECL extension] ( https://pecl.php.net/package/event ) ,
396
+ that provides an interface to ` libevent ` library.
397
+ ` libevent ` itself supports a number of system-specific backends (epoll, kqueue).
397
398
398
399
This loop is known to work with PHP 5.4 through PHP 7+.
399
400
400
401
#### ExtEvLoop
401
402
402
403
An ` ext-ev ` based event loop.
403
404
404
- This loop uses the [ ` ev ` PECL extension] ( https://pecl.php.net/package/ev ) , that
405
- provides an interface to ` libev ` library.
405
+ This loop uses the [ ` ev ` PECL extension] ( https://pecl.php.net/package/ev ) ,
406
+ that provides an interface to ` libev ` library.
407
+ ` libev ` itself supports a number of system-specific backends (epoll, kqueue).
408
+
406
409
407
410
This loop is known to work with PHP 5.4 through PHP 7+.
408
411
409
412
#### ExtUvLoop
410
413
411
414
An ` ext-uv ` based event loop.
412
415
413
- This loop uses the [ ` uv ` PECL extension] ( https://pecl.php.net/package/uv ) , that
414
- provides an interface to ` libuv ` library.
416
+ This loop uses the [ ` uv ` PECL extension] ( https://pecl.php.net/package/uv ) ,
417
+ that provides an interface to ` libuv ` library.
418
+ ` libuv ` itself supports a number of system-specific backends (epoll, kqueue).
415
419
416
420
This loop is known to work with PHP 7+.
417
421
418
- #### ExtLibeventLoop
422
+ #### ~~ ExtLibeventLoop~~
423
+
424
+ > Deprecated since v1.2.0, use [ ` ExtEventLoop ` ] ( #exteventloop ) instead.
419
425
420
426
An ` ext-libevent ` based event loop.
421
427
422
- This uses the [ ` libevent ` PECL extension] ( https://pecl.php.net/package/libevent ) .
428
+ This uses the [ ` libevent ` PECL extension] ( https://pecl.php.net/package/libevent ) ,
429
+ that provides an interface to ` libevent ` library.
423
430
` libevent ` itself supports a number of system-specific backends (epoll, kqueue).
424
431
425
432
This event loop does only work with PHP 5.
@@ -438,12 +445,15 @@ As such, it's recommended to use `stream_set_read_buffer($stream, 0);`
438
445
to disable PHP's internal read buffer in this case.
439
446
See also [ ` addReadStream() ` ] ( #addreadstream ) for more details.
440
447
441
- #### ExtLibevLoop
448
+ #### ~~ ExtLibevLoop~~
449
+
450
+ > Deprecated since v1.2.0, use [ ` ExtEvLoop ` ] ( #extevloop ) instead.
442
451
443
452
An ` ext-libev ` based event loop.
444
453
445
- This uses an [ unofficial ` libev ` extension] ( https://github.com/m4rw3r/php-libev ) .
446
- It supports the same backends as libevent.
454
+ This uses an [ unofficial ` libev ` extension] ( https://github.com/m4rw3r/php-libev ) ,
455
+ that provides an interface to ` libev ` library.
456
+ ` libev ` itself supports a number of system-specific backends (epoll, kqueue).
447
457
448
458
This loop does only work with PHP 5.
449
459
An update for PHP 7 is [ unlikely] ( https://github.com/m4rw3r/php-libev/issues/8 )
0 commit comments