Php/docs/intro.hrtime

提供:Dev Guides
< Php
2020年12月14日 (月) 12:50時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

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 underlaying APIs.

注意:

As of PHP 7.3.0 the related function hrtime() is part of the core.