You can't declare a named function inside a function like that...
You either need to make it a lambda, move it outside the hash function body or wrap it with if(!function_exists('zfsr')).
What version of PHP did you test with? I'm intrigued to know how you never spotted that since it is always a fatal if you call hash more than once in a single script as far as I can see and this is top result on google for PHP murmur implementation....
You can't declare a named function inside a function like that...
You either need to make it a lambda, move it outside the hash function body or wrap it with
if(!function_exists('zfsr'))
.What version of PHP did you test with? I'm intrigued to know how you never spotted that since it is always a fatal if you call hash more than once in a single script as far as I can see and this is top result on google for PHP murmur implementation....