3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = hash_pbkdf2('sha256', 'password', 'abcd', 1000); echo $hash;
Output for 5.5.0 - 5.5.1, 5.5.3, 5.5.11 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
d6f9f1a3c75c700e842362c86157ec294260761ba09748ed3322ce649668cec3
Output for 5.5.10
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 70012471607296 bytes) in /in/AZ1SW on line 3
Process exited with code 255.
Output for 5.5.8 - 5.5.9
d
Output for 5.5.5 - 5.5.7
d6f9f1a3
Output for 5.5.4
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 70355561480192 bytes) in /in/AZ1SW on line 3
Process exited with code 255.
Output for 5.5.2
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 70077416210432 bytes) in /in/AZ1SW on line 3
Process exited with code 255.
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function hash_pbkdf2() in /in/AZ1SW 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/AZ1SW 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/AZ1SW 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/AZ1SW on line 3