3v4l.org

run code in 200+ php & hhvm versions
<?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!"; }
based on H17ih