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 2cee1be commit 7703b85Copy full SHA for 7703b85
UPGRADING
@@ -103,6 +103,20 @@ PHP 8.1 UPGRADE NOTES
103
104
A valid seed value is within the range from 0 to the plaform defined UINT_MAX, usually 4294967295.
105
106
+ . Added xxHash. The implementation brings in the following arguments
107
+
108
+ - xxh32, 32-bit hash
109
+ - xxh64, 64-bit hash
110
+ - xxh3, 64-bit hash
111
+ - xxh128, 128-bit hash
112
113
+ The initial hash state can be passed through the `seed` key in the `$options` array, for example:
114
115
+ ```php
116
+ $h = hash("xxh3", $data, options: ["seed" => 42]);
117
+ echo $h, "\n";
118
+ ```
119
120
========================================
121
3. Changes in SAPI modules
122
0 commit comments