We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 336815f commit 9c3e2e4Copy full SHA for 9c3e2e4
murmurhash3.php
@@ -16,6 +16,7 @@
16
*/
17
18
function murmurhash3_int($key,$seed=0){
19
+ $key = (string) $key;
20
$klen = strlen($key);
21
$h1 = $seed;
22
for ($i=0,$bytes=$klen-($remainder=$klen&3) ; $i<$bytes ; ) {
0 commit comments