3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cur = 'password'; $cur = md5($cur); $salt= randbytes(20); $cur = hmac_sha1($cur, $salt); $cur = remote_hmac_sha256($cur, "loldongs"); $cur = scrypt($cur, $salt); $cur = hmac_sha256($cur, $salt); echo $cur;
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function randbytes() in /in/O7PEY:5 Stack trace: #0 {main} thrown in /in/O7PEY on line 5
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Call to undefined function randbytes() in /in/O7PEY on line 5
Process exited with code 255.