Function __global->microtime

Definitions

sources_custom/phpstub.php

  • Return current UNIX timestamp with microseconds.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$as_float boolean No No False N/A N/A Whether to return a float result

Returns

  • Micro-time
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Return current UNIX timestamp with microseconds.
 *
 * @param  boolean $as_float Whether to return a float result
 * @return mixed Micro-time
 */

function microtime(bool $as_float = false)