Function __global->filemtime

Definitions

sources_custom/phpstub.php

  • Gets file modification time.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$filename PATH No No required parameter N/A N/A The filename

Returns

  • Timestamp of modification (false: error)
  • Type: ~TIME
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Gets file modification time.
 *
 * @param  PATH $filename The filename
 * @return ~TIME Timestamp of modification (false: error)
 */

function filemtime(string $filename)