I am looking for the PHP equelent to JAVA\'s
\"SomeString\".hashCode();
function. The hashCode i am looking for should be the same which is u
There is no such method available in php. So you will have to implement the correct method. Wikipedia gives the algorithm used by Java.lang.hashCode which is used by strings I think, so here is a quick php version of it: