3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = 'foo'; $hash1 = password_hash($pass, PASSWORD_DEFAULT); $hash2 = password_hash($pass, PASSWORD_DEFAULT); if ($hash1 != $hash2) { echo "Yivi was right. I shouldn't be giving this advise to strangers on the web."; }
Output for 7.1.25 - 7.1.31, 7.2.0 - 7.2.21, 7.3.0 - 7.3.8
Yivi was right. I shouldn't be giving this advise to strangers on the web.

preferences:
69.58 ms | 406 KiB | 5 Q