3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = (int) (microtime(true) * 1000); echo password_hash('dsddssds', PASSWORD_BCRYPT, ['cost' => 20]) . "\n"; echo ((int) (microtime(true) * 1000)) - $s;
Output for 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7

Process exited with code 137.
Output for 5.4.2 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/EpsuZ on line 3
Process exited with code 255.

preferences:
107.51 ms | 401 KiB | 88 Q