Function __global->crc32_file
Definitions
sources/zip.php
- Calculate CRC32 for a file. Based on a function in the PHP docs.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $filename | PATH | No | No | required parameter | N/A | N/A | The file |
Returns
- The CRC (null: error)
- Type: ?integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Calculate CRC32 for a file. Based on a function in the PHP docs.
*
* @param PATH $filename The file
* @return ?integer The CRC (null: error)
*/
function crc32_file(string $filename) : ?int
* Calculate CRC32 for a file. Based on a function in the PHP docs.
*
* @param PATH $filename The file
* @return ?integer The CRC (null: error)
*/
function crc32_file(string $filename) : ?int

