I am new to PHP scripting. I developed a VB.net application in which I am using GetHashCode()
function for generating activation key. Now I want to generate activation key using PHP.
Can anyone help me to get the equivalent PHP function? Below I have written the example of VB.Net.
Dim MyString As String = "hello"
MsgBox(MyString.GetHashCode)
Output:
-695839