PHP 7.4.22 Released!

The HRTime\Unit class

(PECL hrtime >= 0.4.3)

Introduction

Class synopsis

class HRTime\Unit {
/* Constants */
const int SECOND = 0;
const int MILLISECOND = 1;
const int MICROSECOND = 2;
const int NANOSECOND = 3;
/* Methods */
}

Predefined Constants

HRTime\Unit::SECOND

HRTime\Unit::MILLISECOND

HRTime\Unit::MICROSECOND

HRTime\Unit::NANOSECOND

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top