murmurhash-php icon indicating copy to clipboard operation
murmurhash-php copied to clipboard

PHP 5.6 also works with this but composer.json prevents using

Open softvar opened this issue 4 years ago • 1 comments

I'm using PHP 5.6 in my project. I have been using this library by copy-pasting the code and it works. I wanted to use it via composer but composer.json requires to have PHP 7+.

Can we please update the composer.json to support 5.6 as well because code is working fine.

Thanks!

softvar avatar Jun 15 '20 20:06 softvar

You mustn't be copy-pasting master or a recent version, because this https://github.com/lastguest/murmurhash-php/blob/master/src/lastguest/Murmur.php#L24 (master) won't work on 5.6 for sure.

version 1.2.0 should work with 5.6

afk11 avatar Jun 19 '20 00:06 afk11