3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passwordHash = password_hash("1234", PASSWORD_BCRYPT); if(password_verify("1234", $passwordHash)) { echo "Acces ok from hash"; echo "\n"; } if(password_verify("1234", '$2y$10$N/kamqB1rVzhAdGTSRpHSOAT.9WU3KygLu4DEUAQxXwDNA8Y9.b7C')) { echo "Acces ici aussi"; }else{ echo "403 from database!"; }
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
Acces ok from hash 403 from database!

preferences:
79.88 ms | 402 KiB | 63 Q