Post #2438954
2026-02-18 09:53 UTC
@flowcontrol@phpc.social I suspect sleep() relies on the internal clock, which might be changed at any moment. But I have never observed it.
I think hrtime() works better for that, and is system immune.
All in all, this looks like something going to the php-tips archive :)
Replies (0)
No replies.