Name
microtime
Synopsis
mixed microtime([ bool get_as_float
])
Returns a string in the format microseconds
seconds
, where seconds
is the
number of seconds since the Unix epoch (January 1, 1970), and
microseconds
is the microseconds portion of
the time since the Unix epoch. If
get_as_float
is true
, a float will be returned instead of a
string.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.