@@ -182,13 +182,14 @@ It is commonly installed as part of many PHP distributions.
182182If this extension is missing (or you're running on Windows), signal handling is
183183not supported and throws a ` BadMethodCallException ` instead.
184184
185- This event loop is known to rely on wall-clock time to schedule future
186- timers, because a monotonic time source is not available in PHP by default.
185+ This event loop is known to rely on wall-clock time to schedule future timers
186+ when using any version before PHP 7.3, because a monotonic time source is
187+ only available as of PHP 7.3 (` hrtime() ` ).
187188While this does not affect many common use cases, this is an important
188189distinction for programs that rely on a high time precision or on systems
189190that are subject to discontinuous time adjustments (time jumps).
190- This means that if you schedule a timer to trigger in 30s and then adjust
191- your system time forward by 20s, the timer may trigger in 10s.
191+ This means that if you schedule a timer to trigger in 30s on PHP < 7.3 and
192+ then adjust your system time forward by 20s, the timer may trigger in 10s.
192193See also [ ` addTimer() ` ] ( #addtimer ) for more details.
193194
194195#### ExtEventLoop
@@ -360,8 +361,8 @@ same time (within its possible accuracy) is not guaranteed.
360361
361362This interface suggests that event loop implementations SHOULD use a
362363monotonic time source if available. Given that a monotonic time source is
363- not available on PHP by default, event loop implementations MAY fall back
364- to using wall-clock time.
364+ only available as of PHP 7.3 by default, event loop implementations MAY
365+ fall back to using wall-clock time.
365366While this does not affect many common use cases, this is an important
366367distinction for programs that rely on a high time precision or on systems
367368that are subject to discontinuous time adjustments (time jumps).
@@ -433,8 +434,8 @@ same time (within its possible accuracy) is not guaranteed.
433434
434435This interface suggests that event loop implementations SHOULD use a
435436monotonic time source if available. Given that a monotonic time source is
436- not available on PHP by default, event loop implementations MAY fall back
437- to using wall-clock time.
437+ only available as of PHP 7.3 by default, event loop implementations MAY
438+ fall back to using wall-clock time.
438439While this does not affect many common use cases, this is an important
439440distinction for programs that rely on a high time precision or on systems
440441that are subject to discontinuous time adjustments (time jumps).
0 commit comments