3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = (int) (microtime(true) * 1000); echo password_hash('dsddssds', PASSWORD_BCRYPT, ['cost' => 20]) . "\n"; echo ((int) (microtime(true) * 1000)) - $s;
based on EpsuZ
Output for 5.5.24 - 7.2.0

Process exited with code 137.
Output for 5.4.2 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Dtk7F on line 2
Process exited with code 255.
Output for 5.3.16 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/Dtk7F on line 2
Process exited with code 255.