3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashedPassword = password_hash($_POST['psasword'], PASSWORD_BCRYPT); echo $hasedPassword;
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
Notice: Undefined index: psasword in /in/MZEJd on line 3 Notice: Undefined variable: hasedPassword in /in/MZEJd on line 4
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/MZEJd on line 3
Process exited with code 255.

preferences:
177.53 ms | 401 KiB | 234 Q