Method hash_7_0()
- Method hash_7_0
int hash_7_0(string s)
int hash_7_0(string s, int max)- Description
Return an integer derived from the string s. The same string always hashes to the same value, also between processes.
If max is given, the result will be >= 0 and < max, otherwise the result will be >= 0 and <= 0x7fffffff.
- Note
This function is provided for backward compatibility with code written for Pike up and including version 7.0.
This function is not NUL-safe, and is byte-order dependant.
- See also