3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed; $verified = password_verify('mypass', $hashed); echo $verified;
based on HR2KO
Output for 7.2.6
$2y$10$xUKP9.aXjNM2SZ3hiLvNPOwzAC1jxUXQ4m/lHj3UHzWI598Gt1nbO1
Output for 7.2.0
$2y$10$Efh1ffIKaxMqMvk.B0Ww3.iEJhKiT4/rTBRd.cTONjdxRvh6IUlbq1
Output for 7.1.20
$2y$10$4eAQaDmz0AS5v28UuiHClepAXKKh2188yGooCe1seSZoojqgUcDJO1
Output for 7.1.10
$2y$10$FuVxcK9YHF.HdmR5QNA4DeClp5eofhwJcmc69tEXEmfqm7Sox6s/61
Output for 7.1.7
$2y$10$.kw27rt3Fasrxpjy3AkMP.6LGLr7TLAuXtAWPkPlEqJkdyTU05HrO1
Output for 7.1.6
$2y$10$012WbtL8gyEMzdcZO6A/eODssL.XCR6tGA6W3ud2TxQfqNsVB.n9S1
Output for 7.1.5
$2y$10$HjGX5HbFC3bRjQaNT0yI0e/u/6xn.LUjDYt3aB66TABCexBMl1cf21
Output for 7.1.0
$2y$10$Mx0Xvyh/Bgt/gAC3uevnBOi50vGyAC0vIzOP5nYjH1G9Cm4ox/fD21
Output for 7.0.20
$2y$10$5BWOErmpuO0jIeY5xKIw7e1BxguNd965INybhA3zw2ATYGd.d25cy1
Output for 7.0.6
$2y$10$.5JBrsYPBjAxhrHONdeWcO1Nfh5akWCduMoiDhv1H52/hJxO9fSMu1
Output for 7.0.5
$2y$10$eEoBtRWboZDyx7btcX6xeul.5FYWzlflhuUM1wa5wf/9IWXgWJTCi1
Output for 7.0.4
$2y$10$ee6.z4e2Luw9EIZGHX5sg.vrQyfEVMa6ZI1HAhkIMNJIlaRKlHbKO1
Output for 7.0.3
$2y$10$KApj12ECa7oUI9WiZjGASu6arCAAj0uI/onBmlG9uclmSyfjFn1Ka1
Output for 7.0.2
$2y$10$JO2TsjCYwcsaTbGfUbXuxeiiMRietg/XlWssepcprG/I6UEsrzvwy1
Output for 7.0.1
$2y$10$aLXqgFWIpupqUzwkikRafOElBIv3/ZH10PEGjboD//nR2MbmpMy/y1
Output for 7.0.0
$2y$10$dX50OXkBWVpXq47pIC2AgeCaeWQ3CNNgW5XbPwBRPAXjzr8Fgq/EG1
Output for 5.6.21
$2y$10$U830NNTDv95Keb6ICPJoAuIn.EnAwfOkIs1gWPOxhY1S83CuD1Y0K1
Output for 5.6.20
$2y$10$6PbPJ7hv9LM/xdFxNJj5/eNJz8hZQFvPSpRSaQu3dcFA.WmiY3Uo21
Output for 5.6.19
$2y$10$A5wlHIYNlPtwc9EV6/rKNeRPTxzB5Ws4cj7qC2h5e4oYBFbzjFhB61
Output for 5.6.18
$2y$10$ISrn/vScFD1PtQFA0QEYzexLM4iHp8LRvc6pWksZoPo4pd.iWS2Vi1
Output for 5.6.17
$2y$10$fS6rcNkOzuTczErHvelbA.oT50nfwQtiZz2zJ9XjiOYxdOex.tbmO1
Output for 5.6.16
$2y$10$Um291ogtd/k8Ku0tGHBov.AAbkTbP6z6nr2UxZDX7Ofevyu1Xib2a1
Output for 5.6.15
$2y$10$u2J1TaS.dtOh0PbbEQOQFOrYtJvSTEa8m34nMQWUsFiLOtararxKa1
Output for 5.6.14
$2y$10$h3Ggp.qcovtYmwZgYDJULOYL0Y1EGbUXhRAFQjtUwDxDqKGhwJ/vi1
Output for 5.6.13
$2y$10$UmVFrSBTTIgaqr7/RJeATOrrrIw9NH9qaPFHqrxl4nRIpPrkbOBKq1
Output for 5.6.12
$2y$10$RkacKjVzSfgs5XYINauC3.Z68zz9SuTbv2qdEMfHpeAqgrL2.AJxS1
Output for 5.6.11
$2y$10$MOvwQVdud1HmzD6Ox.s1pOaC7/JR.trVSN.go1QtwdGh3ubRUJQf.1
Output for 5.6.10
$2y$10$DuI4D6ff//dphkJCTr4T8uEAPLlc00Tw3bIvKjCtDdx//.z5kCkuG1
Output for 5.6.9
$2y$10$7XaLQq1R.s4.gE4LgMPud.U0usCEXhPxWKBRYBaEA28OVC/O6C7oy1
Output for 5.6.8
$2y$10$rBTtprAqBchazlyyI6IuJOjDPaGH5MfERDH6q4yrBa0Y/gHtCed/e1
Output for 5.6.7
$2y$10$TWy11Znn4TN6YI5aSIDpZOkFYiaKnqeF7Z23HOTR2vDVGlB4qtqQm1
Output for 5.5.35
$2y$10$6Z03y51TSEIX0Seu8Yp0fOZa7F1yhnVi7UqMs12J2tRkkt0Wn.6Mq1
Output for 5.5.34
$2y$10$Vt2F3XtVziva3F9Uk7UP6uHE.8PhAicQoY40TafmSp6Q45o5dlnQG1
Output for 5.5.33
$2y$10$Bd4lZF6WwP4NhtEFgyn8r.FIogmSJumrWyovJQeADrhWEGLhrBbl21
Output for 5.5.32
$2y$10$vYdvOh3yvtg88wqu6tYOwO0QMq9TdfNbTfeTM0YEUW8JTsUi7yEUu1
Output for 5.5.31
$2y$10$I5A64JuP4EmjEFjVdILLOusX.2TCm3f4yerRJLwWEbBAJcSZ5ZRg21
Output for 5.5.30
$2y$10$9ucyw6khf1b7qLfCmsOQa.i7Y4w0eFiZt1mptgbs1.dr0XhDcxgym1
Output for 5.5.29
$2y$10$NQvR6mSBCGjq2xccwz/Kt.bCqKjv2LtBU8TdNqNFrEpQmOgN3Q5Lq1
Output for 5.5.28
$2y$10$rIC46z76uEycdM9i174oPuPpGXfT3ecySy224lR3fdYpnvYTKBiE21
Output for 5.5.27
$2y$10$6vMouzlLEfpIE9MqZWFJyuUyVttSfV1.Lk/qm/z.cTaGPQeBIPo4a1
Output for 5.5.26
$2y$10$n4O88R1sgvpT39B59023eeNnlE5XD4u7hrFROSXuGTKjR425/i8t21
Output for 5.5.25
$2y$10$/uOzLHFUEppFIo3mjxt9FuNLfDf0kIOXyrWa0QV1QofyzScATr9mW1
Output for 5.5.24
$2y$10$NRMDbQCbs/o9svI/6dKKt.2cqkZIMOV2TO7DVtnWi1RumaAV.5zNe1
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/SkF1n on line 3
Process exited with code 255.