Function __global->tar_crc

Definitions

sources/tar.php

  • Find the checksum specified in a TAR header.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$header string No No required parameter N/A N/A The header from a TAR file

Returns

  • The checksum
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find the checksum specified in a TAR header.
 *
 * @param  string $header The header from a TAR file
 * @return integer The checksum
 */

function tar_crc(string $header) : int