3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash("123456", PASSWORD_BCRYPT, ['cost' => 10])); var_dump(password_verify("123456", '$2y$09$veukn44f1R5E76d8MAyExOiDl2IMFP63cVNJaJZxD.nM8WU05g7US'));
based on lgJ7H
Output for 7.3.0beta1
string(60) "$2y$10$Myoq5OIzcghwMBkzcwHAxu5ViaSjimbEqHN18JVknlb7NPFRwUrIm" bool(true)
Output for 7.3.0alpha1
string(60) "$2y$10$aSTcDwql5KYxDhBYW1KrR.A4GFjmYuKPLp3zSCgOy6vnE99n6zKmW" bool(true)
Output for 7.2.6
string(60) "$2y$10$gBPpN6rUlJjtoVjN3ekg/.G9QRzSm.jeZu0K1dMhaTBLRbrCc/0zi" bool(true)
Output for 7.2.0
string(60) "$2y$10$J06n967SYrYC3zP5GY9aZeKVFsKF6sFbVTaZeWYomoCixFhgRu5Wm" bool(true)
Output for 7.1.20
string(60) "$2y$10$9oBWCOwF5.NKe5bpFLAjaOtaCJjQutnDL2c.pQmiq4t.PBPblo3Pm" bool(true)
Output for 7.1.10
string(60) "$2y$10$h527HPlT1kTyMhzIasWJAOt3uAat5paZRYBL.oOWOgztOThAqupXG" bool(true)
Output for 7.1.7
string(60) "$2y$10$V4NJYI05EAmeHTv8ieAELuu/HyXJ4/MxltVtzv1jS8NNtXZglkO9K" bool(true)
Output for 7.1.6
string(60) "$2y$10$lpUPQNlT/WYIn0ZN6d6RgO7pt1SlfeYbAZzbOB8QSyXucHIcN6aEy" bool(true)
Output for 7.1.5
string(60) "$2y$10$W7W/JqXEIiIhbFW1U4ceq.LLo8j2V19fIililGMF4rrg5JFqmrdQq" bool(true)
Output for 7.1.0
string(60) "$2y$10$GmM8oJtF7kTmGNMFXsZ5BuWtTg16rG.rJL01GPmL04CZoYg24amUG" bool(true)
Output for 7.0.20
string(60) "$2y$10$PJGfBpLLZ8dPXuzH1O3oBOgcT5X.9N6xF3eEwQg.qxmATD6kgEls." bool(true)
Output for 7.0.13
string(60) "$2y$10$vRTG.54aNQ77rOihW3r3huz0vHSgfAUGAR9mMpNgdts9YJgN1T7Rm" bool(true)
Output for 7.0.12
string(60) "$2y$10$ZovzUEhkk4ihbfaYRLSxouK69LmOR1zE5MxOirKDMj3X.Ejbz1HQ." bool(true)
Output for 7.0.11
string(60) "$2y$10$//0NiUJ4Uod70ojizJpAj.K9mkOa.P9yKDyz1CAEA7N//Aj9aQ1gS" bool(true)
Output for 7.0.10
string(60) "$2y$10$1CCOcFivMN7AVxyn5ZpLPewZrvIYJzT26NQ.pjAmSH8ZUmgtGky3G" bool(true)
Output for 7.0.9
string(60) "$2y$10$9TVfXG.HYde1Q6t5AE2ocOfVFGzWCmQUIES6L/KhAdKawcIz40RTW" bool(true)
Output for 7.0.8
string(60) "$2y$10$UB9xzgqMlCjQLK0R2zmxrekiDYoJMNrzqk0q4SFzI.GhTRpcIzrRK" bool(true)
Output for 7.0.7
string(60) "$2y$10$0kgLpi147ozGTy8tOT1RduGVR0AwqTPVTBk/TEAn9ELaqbKlHRqBa" bool(true)
Output for 7.0.6
string(60) "$2y$10$D/BHWGh1AnV9qJf0fcZQYOwn1kySqFWamhISkky0..NYERgBdR/9q" bool(true)
Output for 7.0.5
string(60) "$2y$10$Iz5a2FmkdjnDIdBkgDe0WeWjc58TUo0VlcOAFrdckmzGqsLF8FzFa" bool(true)
Output for 7.0.4
string(60) "$2y$10$5UIVt2aiFc8zDpvCMOJecOHz4borAQz5mCeS9/S3Os7wrxHYwAFg6" bool(true)
Output for 7.0.3
string(60) "$2y$10$LgLKPrvks4.Nqq.scG0TlOUS8ILAS9JDeBK0XNbc75ox5mnunUIoy" bool(true)
Output for 7.0.2
string(60) "$2y$10$6ckyKRo4Wki1T/8zalbXb.f2dLFpKvuku027ubgskI15I0a016UJe" bool(true)
Output for 7.0.1
string(60) "$2y$10$O5JDsGh8nd0o3283bmZeT.CyGNFqLzSubpJBpcSAbcO1rOmyFRtmW" bool(true)
Output for 7.0.0
string(60) "$2y$10$pllmYNy84643CExvdn3eBuo9xwBEl67K8OCZhbp9kiOwAqM4dBbS." bool(true)
Output for 5.6.28
string(60) "$2y$10$cQQt0Jzq1WC5cS25gBfTDOKrA6/Ka70sDRbof.Vd3RVOPMl4ZYKkC" bool(true)
Output for 5.6.27
string(60) "$2y$10$zwLjv2Gl6aehdIsomQj2kOaNFtwlKGOnDtqZA/W/tufkfhL0ZAbSe" bool(true)
Output for 5.6.26
string(60) "$2y$10$Kt93.tZAyw5Zc/V1nl/vv.5/328L7p3e1MFt6BvmlgvbxbEMGJHSa" bool(true)
Output for 5.6.25
string(60) "$2y$10$EWA3f2hLmUcoZtNa4JvLMe2xXuVRjnMnW5WlKmHV0XC54n2uyPZrm" bool(true)
Output for 5.6.24
string(60) "$2y$10$OXF1wTmz/oFeCDLRaovJ5O0fkMpRPdpg/JAscwPY2wnAgVTYtyQ4S" bool(true)
Output for 5.6.23
string(60) "$2y$10$1SB6qw/3dRhBIyw4FZ5U/eYiXnKx/5F/Zz/UlnHBtvuwicnZ5im2y" bool(true)
Output for 5.6.22
string(60) "$2y$10$iUMtvc8jhspHD/5a49kZTemfk.hPKIUHRdbNguOzyCWi4jWkWqjV6" bool(true)
Output for 5.6.21
string(60) "$2y$10$82sSgorTVsNheRABCflFquJYB.NWJxE9nweGF3QvbvjV.rECJ1CgC" bool(true)
Output for 5.6.20
string(60) "$2y$10$bzMGwv1EmUAvYlAcrwDVUeJAHVef/gyh8l3XEo5ORfN3OKKCThUy2" bool(true)
Output for 5.6.19
string(60) "$2y$10$7N26CYNMHfuvUCI3R9/e8.uAzf57iVVWqaceiCmNsSibxyQa37ZJK" bool(true)
Output for 5.6.18
string(60) "$2y$10$6Z7WN06Iq/esP0GYTs.rXeJ0zzlE6H1oDN2S41gPpgj/gKYpePaGa" bool(true)
Output for 5.6.17
string(60) "$2y$10$MtuTCLg.6uak4mF7MxaxQeNnNYmBOUWJvpKd2aeukMfqz1OUrKRgO" bool(true)
Output for 5.6.16
string(60) "$2y$10$SpM3yg.QB1DzgabdrzmL4OthHqAbLw.1XmLWhDeGKbdz1nXfnvf6G" bool(true)
Output for 5.6.15
string(60) "$2y$10$pBay2ag5yqQsNav6ng2Pxu2XFHtHNBkWLxy5nRqudFXyEO6aQsOP." bool(true)
Output for 5.6.14
string(60) "$2y$10$lptwFJ9EvJ6EXkxpsN0A3uZ8irTrVor7I2xLudm1L.HtfWCBME1Mm" bool(true)
Output for 5.6.13
string(60) "$2y$10$kgUN0yMpWfUZoOFPudhAMu8pYdwWL/1PCGUfQtaNyAD04eQQTyHwG" bool(true)
Output for 5.6.12
string(60) "$2y$10$DDQSAqWXOXhLaWb2xkX94OLeq4OJ29wk0zvQ414T4Sjw.oXjxhqLG" bool(true)
Output for 5.6.11
string(60) "$2y$10$Y9IV5pahuZPxnEPscNMj4eMw3Vx0ONk2PrVCjGMAD/uSSbLgF1iQ6" bool(true)
Output for 5.6.10
string(60) "$2y$10$vEKvWqrIQZoaTqUjvxUdXuLDrTPZnLsMX.RMzxt4bRxEYCgxluV2y" bool(true)
Output for 5.6.9
string(60) "$2y$10$P4cecc1aCmAfS8Dn9unGTuDVr4AUyImmEZT8s04nQdCiL4osc.UcK" bool(true)
Output for 5.6.8
string(60) "$2y$10$.CMFhiFTstxfGb7E2YO24.LF.dR3cydwzkeubc3T.oNNVGBK8CXAq" bool(true)
Output for 5.6.7
string(60) "$2y$10$xSRbH2OhdGmc4vd46j.4GuqvGD9M9dVeZKcVov6LTvv8tIqbUT0bC" bool(true)
Output for 5.6.6
string(60) "$2y$10$Yoa7zWSmC09UvsCYoegaFO7v11CdiWvs0KzCQGWFCoRs003FFIoTy" bool(true)
Output for 5.6.5
string(60) "$2y$10$F6Ol/e84nDue1wVb5lB.uuOSmr45U.iXf8ZbYROHTJWWjvOWw4Y5e" bool(true)
Output for 5.6.4
string(60) "$2y$10$wv5mmAxEp3xLk3tcOZzIqucioIAASQ0rUvtUHjAOlTY8W7GlOTWT." bool(true)
Output for 5.6.3
string(60) "$2y$10$uVzbdhptSiPlafkb4ttIA./T6HvWl9Kis9Tp/TeISV94nkoo0WsN6" bool(true)
Output for 5.6.2
string(60) "$2y$10$MnufANH/8ORBDg34Tqged.sG4hwIeQY9gcsQlze4lcSaHuWLgPzwm" bool(true)
Output for 5.6.1
string(60) "$2y$10$4Dn98UMuNrQ0WLmYYVETDeQXcFRwkf/XVgXi29E0eL3oewd.UPsDC" bool(true)
Output for 5.6.0
string(60) "$2y$10$6EggyXwzl36VhWrT7qYeJOtDRSzAdQBHBUXTFZ1aU9bigRhRbYnSy" bool(true)