Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cityhash PHP bindings
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
Google's CityHash extension for PHP. Dependencies ================== Extension requires libcityhash library. You can checkout it via svn: svn checkout http://cityhash.googlecode.com/svn/trunk/ cityhash or simply download it from http://code.google.com/p/cityhash/downloads/list Follow the instructions in README file to install library. Installation ================== To compile extension, you will have to execute the following steps: $ phpize $ ./configure --with-cityhash $ make $ [sudo] make install Add following line to your php.ini and restart Apache extension=cityhash.so Using ================== <?php print CityHash64('sample string'); print CityHash128('another string');