Function __global->remap_portable_as_time

Definitions

sources/resource_fs.php

  • Convert a portable timestamp to a real timestamp.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$portable_data ?string No No required parameter N/A N/A Portable details (null: not set)

Returns

  • The timestamp (null: not set)
  • Type: ?integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a portable timestamp to a real timestamp.
 *
 * @param  ?string $portable_data Portable details (null: not set)
 * @return ?integer The timestamp (null: not set)
 */

function remap_portable_as_time(?string $portable_data) : ?int