PHP code example of evolutionphp / murmurhash3
1. Go to this page and download the library: Download evolutionphp/murmurhash3 library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
evolutionphp / murmurhash3 example snippets
use lastguest\Murmur;
echo Murmur::hash3("Hello World");
// cnd0ue
use lastguest\Murmur;
echo Murmur::hash3("Hello World", 1234567);
// qtq2u
use lastguest\Murmur;
echo Murmur::hash3_int("Hello World");
// 427197390