3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = "test"; echo "$password \n"; $hashToStoreInDb = password_hash($password, PASSWORD_BCRYPT); echo " $hashToStoreInDb \n"; $isPasswordCorrect = password_verify($password, $hashToStoreInDb); echo "$isPasswordCorrect \n"; ?>
Output for 7.1.0
test $2y$10$vbt72En2mwdI5BgBqWTNIOL7GTNakPQgPhGkT18FPKH7ttuoLXZ5. 1
Output for 7.0.14
test $2y$10$Qxx.2Go4w34v5T2V.19xA.UuKRUtph9PTCEfT4npD6/zceWFnMcI6 1
Output for 7.0.6
test $2y$10$065o7mpX2GEYCrtRWezW3.hU0/32phEwJJSpT7KhIe8pM1p4CgNt2 1
Output for 7.0.5
test $2y$10$4Va.Ip66SuYUUz98qmv6put9M1NlKRVi2LkXTrRVm.9MIeFJGr6Ue 1
Output for 7.0.4
test $2y$10$U/OwGdJZ18D0ya.SeM2FYuLU/0OpTUZL9qaeM/a6iEhrJyU3ogSZy 1
Output for 7.0.3
test $2y$10$CbYYBzV3ptY/9l15D63K5OJCqLKTb4EcXSheN18rzOm.L94lYpi.G 1
Output for 7.0.2
test $2y$10$guYbdCYbEJ9EAVwhNkFVOeSv1/z09s77jcwm1pQ7V9tizu8wukfQq 1
Output for 7.0.1
test $2y$10$kucA02rn9/s8zftDhNb/IOfIdV3mn4II0/TtKzVcj79Pvw0YSHIVq 1
Output for 7.0.0
test $2y$10$yl5KPSwK1py//irmBXEQQ.DCI1wpMmYebqiOJH0D4WzaR0kWlqZfi 1
Output for 5.6.28
test $2y$10$/cfigKmzMJ3yjmtsEg0RFOiUp76E/RxpG6qR2VYoKhMKxqYeT5MdC 1
Output for 5.6.21
test $2y$10$h2FGxJpv5g1kwZO96dhChe1royWWafo3uOPxoXxYqESK95kh8Hnk2 1
Output for 5.6.20
test $2y$10$7Q2OcV482.ojlCTlQmkJ6.4WxJfgXmnFMorbi9u7pJsdKMKWpXjxO 1
Output for 5.6.19
test $2y$10$xp7asffYlwd9Q70SEJf6wO6o9w7PddqvX912IlH48Rmzg8V7MhWcS 1
Output for 5.6.18
test $2y$10$PRvGb.WPe0CtDTI7vJ9l1./odsLu2OtYU2sauE7qpZXW/yL0P75Q2 1
Output for 5.6.17
test $2y$10$gr5bd.ESrz1akuPOONbZOOHrg6z8uj0U7Tp951fXVunvBupKo.xOe 1
Output for 5.6.16
test $2y$10$psgT2cnYyMQOvHwBgW.UsutXsJOE79n.TNzJ0Mwd6uQLVNYujx0Tu 1
Output for 5.6.15
test $2y$10$PnS82U/5lE3Lb6Lr7KdX.eiR6FU7.zIOESwcdG8pjqP7leEJ2r1/e 1
Output for 5.6.14
test $2y$10$bB5.bnhw06ndEmBYfXZZPefOVS/HmQk0PZQUY6FFlX5TpI1DCNyG2 1
Output for 5.6.13
test $2y$10$Td.2u454lcuXf5LVj9XOtOeErpsXTLyaF8xJfRIuhZCtfjDAForaK 1
Output for 5.6.12
test $2y$10$gQP4quJBKXow01XHa5m8KeR.j3bd3RDg1G5iF3pzjozlN4jx53L76 1
Output for 5.6.11
test $2y$10$zBdqNIN8/a8jjzvAgzehM.k.FRc.L2ETw1B/RWMdX7X5ora2YgbmC 1
Output for 5.6.10
test $2y$10$fw.7A6triIh4dCxrT6eiau49Nq/jCzHKSnrskT88I1RbXL8YDF1VC 1
Output for 5.6.9
test $2y$10$yPCQvyGle9U9UqUbHbCu9.vOfD5RpK7YYkRKN21S8MFAmkfr5eAa6 1
Output for 5.6.8
test $2y$10$6HrgGvYMYo3a2fT3QMKwJufpTmWjPoQ7H..t7LyZ08wLZx0ONjygm 1
Output for 5.5.35
test $2y$10$gCsRfPdhoUhANN7kEE4QTuXFkzpbivDRoTZG2cgorR6Ay2Y4/qnXG 1
Output for 5.5.34
test $2y$10$9Tf4wftEhXIXmP1nxRrhSOVEACpV03HeO4WFsYnaSejANWYUa9Uoi 1
Output for 5.5.33
test $2y$10$dZU52t3pdu037ddukkwY3.3Y8qVOEyjXzq/w4Ko539Q8EV1Flyubu 1
Output for 5.5.32
test $2y$10$bVn15n/P45IGejFp7d8HN.SprB.N3ZLGK/r6hjfHZX6S8kdzO55Zi 1
Output for 5.5.31
test $2y$10$xL5DwWwtDL3wR5FBWEiZJuStqx5RWR3KOA/JUg0yLVFbd6F4nxCr2 1
Output for 5.5.30
test $2y$10$f/CIFmbC6QqL.WZez0B5b.44YsWhF1J3wA4zVm8qEREB3ZPElDWOK 1
Output for 5.5.29
test $2y$10$WxLZPukxb0UJ/FtovkAF5en9WfYUovo/2J2oFKbf8F99Y/zR4Ot0y 1
Output for 5.5.28
test $2y$10$cshi65Scg2QKb28cXqBc8.5o2hmLJzBnCxFpv1.rz/3NVAIU.z37m 1
Output for 5.5.27
test $2y$10$4uDlMgd655ZghVr76XKIE.2DUEl.tBhhOas7o0tgfVxnUwl0BGh7e 1
Output for 5.5.26
test $2y$10$Sr1LHjruBn8RpNmaXaKheOjVXHQNGWJAPvIARaeyYmcruXHcEuKam 1
Output for 5.5.25
test $2y$10$6EROizrnU9584HAPoZ6Zeee7vZ3M9DsWUjfM6mmNbUOYwxdvJnjhe 1
Output for 5.5.24
test $2y$10$7IVJOIOUHrndxeGGolKF4OBQw0BZwcI/JqNFqW7xG13oRRxYMKski 1
Output for 5.0.0 - 5.4.45
test Fatal error: Call to undefined function password_hash() in /in/abVni 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/abVni 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/abVni 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/abVni on line 5