3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash("somepassword", PASSWORD_DEFAULT); $hash = '$2y$10$f.iC/tadtwSws25fW2zRg./.xlY.mRK82Ys9M4acbPU/b614vA1vy'; // copy-pasted the hash if (password_verify('somepassword', $hash)) { echo 'The password is valid!'; } else { echo 'The password is not valid'; }
Output for git.master_jit
$2y$12$gYIJWhDktwf29n4Q7EgOg.M0ouoiQROr.nUgn7jAT3ansplKazp3SThe password is valid!
Output for git.master
$2y$12$Ct80QnZkAajH4h5gghjkE.gfHHkw04MAJQuy.b7ONB6dhzwCwPTtKThe password is valid!
Output for rfc.property-hooks
$2y$12$k77ZSoz8oXAeG3uIqv5opOVIKgjuQzhoLOR01jDlNRkA0KZyT.e2WThe password is valid!

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
28.41 ms | 408 KiB | 5 Q