<?php
str|float microtime ([ bool $as_float = FALSE ] )
where,
$as_float = To control if the microseconds
will be shown as float or a STRING as integer
?>
<?php
echo microtime();
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The microtime shown with the default:
$get_as_float = FALSE
is composed of two parts in the STRING format:
The first part indicates the decimal part, (msec),
and the second part, (sec), the integer part
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
?>
<?php
echo microtime(true);
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The microtime shown with:
$get_as_float = TRUE
is displayed in floating-point format
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
?>