Function __global->md5_file
Definitions
sources_custom/phpstub.php
- Calculates the md5 hash of the file identified by the given filename.
- 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 | File name |
Returns
- The hash of the file (false: error)
- Type: ~string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Calculates the md5 hash of the file identified by the given filename.
*
* @param PATH $filename File name
* @return ~string The hash of the file (false: error)
*/
function md5_file(string $filename)
* Calculates the md5 hash of the file identified by the given filename.
*
* @param PATH $filename File name
* @return ~string The hash of the file (false: error)
*/
function md5_file(string $filename)

