3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = hash_pbkdf2('sha1', 'password', 'salt', 1, 0); $rawHash = hash_pbkdf2('sha1', 'password', 'salt', 1, 0, true); var_dump($hash); var_dump(bin2hex($rawHash));
Output for 5.5.24 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
string(40) "0c60c80f961f0e71f3a9b524af6012062fe037a6" string(40) "0c60c80f961f0e71f3a9b524af6012062fe037a6"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function hash_pbkdf2() in /in/U3oQr on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash_pbkdf2() in /in/U3oQr on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash_pbkdf2() in /in/U3oQr on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash_pbkdf2() in /in/U3oQr on line 3