Function __global->gettimeofday

Definitions

sources_custom/phpstub.php

  • Get current time.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$return_float boolean No No False N/A N/A Return as float

Returns

  • Map of time details
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get current time.
 *
 * @param  boolean $return_float Return as float
 * @return array Map of time details
 */

function gettimeofday(bool $return_float = false) : array