In PHP what is the use of microtime() function. For what purpose and in what scenario one uses the function microtime() in their application.
Printable View
In PHP what is the use of microtime() function. For what purpose and in what scenario one uses the function microtime() in their application.
microtime() returns the current Unix timestamp with microseconds. This function is only available on operating systems that support the gettimeofday() system call. The syntax for this function is
string microtime ( void )
Hope this clarifies your doubt