HRTime
PHP Manual
PHP Manual»Розширення, що стосуються дати й часу»HRTime

High resolution timing

Вступ

The HRTime extension implements a high resolution StopWatch class. It uses the best possible APIs on different platforms which brings resolution up to nanoseconds. It also makes possible to implement a custom stopwatch using low level ticks delivered by the underlying APIs.

Зауваження: As of PHP 7.3.0 the related function hrtime() is part of the core.

To Top