php-src
php-src copied to clipboard
Inconsistent argument name in `hash-hmac-file` and `hash-file`
From manual page: https://php.net/function.hash-hmac-file
string $data, should be string $filename, to have the same naming scheme as hash-file().
Oh, right, but that would need to be fixed in php-src first, and would be a BC break.
Documented via https://github.com/php/doc-en/commit/1adf24615e8be8049f68db37513e37dc631d49d1
@cmb69 Thanks 👍