124 | 124 |
| 125 | 125 | 1. The event loop instance is created at the beginning of the program. This is
|
126 | 126 | implicitly done the first time you call the [`Loop` class](#loop) or
|
127 |
| - explicitly when using the deprecated [`Factory::create() method`](#create) |
| 127 | + explicitly when using the deprecated [`Factory::create()` method](#create) |
128 | 128 | (or manually instantiating any of the [loop implementations](#loop-implementations)).
|
129 | 129 | 2. The event loop is used directly or passed as an instance to library and
|
130 | 130 | application code. In this example, a periodic timer is registered with the
|
131 | 131 | event loop which simply outputs `Tick` every fraction of a second until another
|
132 | 132 | timer stops the periodic timer after a second.
|
133 | 133 | 3. The event loop is run at the end of the program. This is automatically done
|
134 |
| - when using [`Loop` class](#loop) or explicitly with a single [`run()`](#run) |
| 134 | + when using the [`Loop` class](#loop) or explicitly with a single [`run()`](#run) |
135 | 135 | call at the end of the program.
|
136 | 136 |
|
137 | 137 | As of `v1.2.0`, we highly recommend using the [`Loop` class](#loop).
|
@@ -435,8 +435,8 @@ This event loop does only work with PHP 5.
|
435 | 435 | An [unofficial update](https://github.com/php/pecl-event-libevent/pull/2
8000
span>) for
|
436 | 436 | PHP 7 does exist, but it is known to cause regular crashes due to `SEGFAULT`s.
|
437 | 437 | To reiterate: Using this event loop on PHP 7 is not recommended.
|
438 |
| -Accordingly, neither the [`Loop` object](#loop) nor the deprecated |
439 |
| -[`Factory`](#factory) will try to use this event loop on PHP 7. |
| 438 | +Accordingly, neither the [`Loop` class](#loop) nor the deprecated |
| 439 | +[`Factory` class](#factory) will try to use this event loop on PHP 7. |
440 | 440 |
|
441 | 441 | This event loop is known to trigger a readable listener only if
|
442 | 442 | the stream *becomes* readable (edge-triggered) and may not trigger if the
|
|
0 commit comments