-
Notifications
You must be signed in to change notification settings - Fork 2
TeamRocketScience/CityHash4PHP
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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');
About
Cityhash PHP bindings
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published