3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = "test"; echo "$password \n"; $hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); echo " $hashToStoreInDb \n"; $isPasswordCorrect = password_verify($password, $hashToStoreInDb); echo "$isPasswordCorrect \n"; ?>
Output for 7.1.0
test $2y$10$B.Pu/00n8.bxDdvzc7A6huqaoHMj06sGRt931llHDnymNOKHCooh6 1
Output for 7.0.14
test $2y$10$y87l39f9OqNl2bLhVfjRue6L0mmqL0ySyAHC/7IyuMH9eTW6vz91y 1
Output for 7.0.6
test $2y$10$65IfYub4FZGYJaGlUyazgeoPspIxSNymPHYJtpVLFI5IUy1konv3W 1
Output for 7.0.5
test $2y$10$KA6VBL0MtLroafcfmeQeDeXthpFsLUkFJ2gTmcjPTNF1vl0wIgfdS 1
Output for 7.0.4
test $2y$10$.a4NDZG6lisH7Vs6IZesSeXlDQybL2xhp8EYTeooNDxGQY2GsS32. 1
Output for 7.0.3
test $2y$10$h4S/FpKLQIOmsH55Qoi19OR1srfRgR1KtfIr0.XHLC.MhTMJAToOK 1
Output for 7.0.2
test $2y$10$FQEvwNtshgB26GkI8F4aH.jLWWDgnWqV4rkiBpojbn22e7VLgqdNO 1
Output for 7.0.1
test $2y$10$HJtwSlhxf8UO5Eft4TqQU.kxQbFPMeWHj5XlwXgX51FttsAx/z2iK 1
Output for 7.0.0
test $2y$10$x4fbjG02E4uPNO8JXmKjyOc2ihwbCnxG1pSPDVV91.Z1Cs9cMWgbq 1
Output for 5.6.28
test $2y$10$gOI1veUK4ZRNl9j0iASNx.MwyUjcFNI2mJVBgJpI16qDZhyaVGZJG 1
Output for 5.6.21
test $2y$10$ILDtUh3I055H0PPMC3EUkOdKCocm9CnWsXAU1c8dNR0EMGrRB54ty 1
Output for 5.6.20
test $2y$10$Y2UOQjEzlbkG81tK0mRc/.9VvxfqwEiihJDypfLQePMWKF3NHkHYW 1
Output for 5.6.19
test $2y$10$WBC7Q6eVvpuQGDs1ruNBMOvc7FUDZX.OjM6G70n6I.M09HBu3nwS6 1
Output for 5.6.18
test $2y$10$eni5TkU0OQUokKbTI8HVCezuFEeAdcNnW3Suakj26Fq221nB1ypcW 1
Output for 5.6.17
test $2y$10$woHERnrJJdNctCl3F1YBtO90NmKiSanWqpsMPoyE2EJROhnZBIjje 1
Output for 5.6.16
test $2y$10$xbpAXpKCZlvwN0xrmWSb8ObCqWy8anQ5r87ivzygnycd0xevXTu4a 1
Output for 5.6.15
test $2y$10$VXMwyLH64NyOtX.9lVz9JujZG590v.wyeVQVLPJettx5gtUsFylbG 1
Output for 5.6.14
test $2y$10$Zue4vIZXMIJsaWiHir8s9u0he/cx80EYno7GyiZ4IceC1V389zgWi 1
Output for 5.6.13
test $2y$10$APSNpzAKGSKD3XmPB8R.9OWjHRBa/7d0dJuBi8DHsBYTlBIZcWnBG 1
Output for 5.6.12
test $2y$10$G50nYQsz4yojr9Mzi5mhW.W66X8p40ZRATJonF6rr5rDCfhpu6aj2 1
Output for 5.6.11
test $2y$10$ddvN5wfLNlNx./0K01sA2.m8Mj4Fw5nygS9Wl6UDaRyw40heH/CS. 1
Output for 5.6.10
test $2y$10$dmfvZo.Os7Xs3Su9fySo4ubLiic.W2.3gsnVjP1kGd0NJai1kOs/K 1
Output for 5.6.9
test $2y$10$y9RBCfTeoKwxmXfiAIIYL.bAT2uMIOtmOuYyNBiQWVEE1yafO3rnO 1
Output for 5.6.8
test $2y$10$rZA8O5HBQJH45C2rVhoLw.62Aprbk5eu.CKOTWAq8/vacnsuk8zby 1
Output for 5.5.35
test $2y$10$v0sLCNH9IWo9HFpWR/5nwe3vlI.cLAKbBgokNge3Cm9teXmYH5i1K 1
Output for 5.5.34
test $2y$10$IJ4Qc1WFW1.7.IRaIaYBHu6eSed1VFsc7U/m7fRFaQRGvCBVu.d/q 1
Output for 5.5.33
test $2y$10$7AalbjbEnna0xaAy8/CBluVvq8T5.qBRVHyFO2vcLbjYwGdoeNxTW 1
Output for 5.5.32
test $2y$10$poumGORW.5Lxiv8R85kTmeJ7RUvtE/bEy4AZPOm1njSkL3lVNCRxO 1
Output for 5.5.31
test $2y$10$6alwE96JSTo34SVX6SKu9uQ5YfKavO9G3Iytac/.smsy6CVU/Gwia 1
Output for 5.5.30
test $2y$10$tzl6OQDRcasWUe5/3ymmnO8OdKB.2UyM.Owm8qB0AknKmUceQhEi6 1
Output for 5.5.29
test $2y$10$N36We9dj5JQQrJ8cChPV4.zolA6A0t2mqe.56uK4K1zvHspB.OFxy 1
Output for 5.5.28
test $2y$10$CRDN9kxuLT7MU9jPW2nE6.jnDKtJkAwSyLXZ7PH40.c9pne9njP7i 1
Output for 5.5.27
test $2y$10$zSPlVRgZQWa2c9esgCptXueD0Rxqyrs0O90aH/SMm2L8j8H2G89nu 1
Output for 5.5.26
test $2y$10$946a29JW6.nt/0S6zOeY5eT9TYrOsdAfacP9BAIJieE5WDGd4TeLG 1
Output for 5.5.25
test $2y$10$xfaoCIz9o22xDElVuIRSzuyBL2B8yNhEnGsevGSpuz3/UPM8npwRS 1
Output for 5.5.24
test $2y$10$Ks5lajLbQUyPuLM2T5XVo.TFhxfqYXKxqTLHkj.qTY2ZhrmH5wOZW 1
Output for 5.0.0 - 5.4.45
test Fatal error: Call to undefined function password_hash() in /in/ubBKN on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
test Fatal error: Call to undefined function: password_hash() in /in/ubBKN on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
test Fatal error: Call to undefined function: password_hash() in /in/ubBKN on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
test Fatal error: Call to undefined function: password_hash() in /in/ubBKN on line 5