3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.2.7
Acces ok from hash 403 from database!