We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55de6a commit 1b30243Copy full SHA for 1b30243
crc_fast.stub.php
@@ -93,13 +93,12 @@ function hash(int $algorithm, string $data, bool $binary = false): string
93
* Calculates the CRC checksum of the given file.
94
*
95
* @param int $algorithm
96
- * @param string $data
+ * @param string $filename
97
* @param bool $binary Output binary string or hex?
98
- * @param null|int $chunkSize
99
100
* @return string
101
*/
102
- function hash_file(int $algorithm, string $data, bool $binary = false, ?int $chunkSize = null): string
+ function hash_file(int $algorithm, string $filename, bool $binary = false): string
103
{
104
}
105
crc_fast_arginfo.h
@@ -1,5 +1,5 @@
1
/* This is a generated file, edit the .stub.php file instead.
2
- * Stub hash: 4f5859e24637bb505c5d71ba5d1629d782d19230 */
+ * Stub hash: c975a357b8cfe8f140279cc7303e17f08c0794f6 */
3
4
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_CrcFast_hash, 0, 2, IS_STRING, 0)
5
ZEND_ARG_TYPE_INFO(0, algorithm, IS_LONG, 0)
@@ -9,9 +9,8 @@ ZEND_END_ARG_INFO()
9
10
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_CrcFast_hash_file, 0, 2, IS_STRING, 0)
11
12
- ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
13
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, binary, _IS_BOOL, 0, "false")
14
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, chunkSize, IS_LONG, 1, "null")
15
ZEND_END_ARG_INFO()
16
17
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_CrcFast_get_supported_algorithms, 0, 0, IS_ARRAY, 0)
0 commit comments