What is the code for SHA512? PHP

I seem to unable to find the code for SHA512. I tired SHA512 or SHA-512 but nothing. I know SHA1 - this works.

Is there other better one than SHA1? Lets me say this way, what is the latest?
1 answer 1