3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = [ 'cost' => 12, ]; echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
Output for 7.1.0
$2y$12$B0gRqKG5W7hy/Z9iNG3uke0xPE193eCHTp/fevKRuPMlr5sf52eCC
Output for 7.0.14
$2y$12$pQOF4UIOYyWExQOpWPzr1OUbBnghtTJIYSIgrjs9BT.N.G1vsQfFm
Output for 7.0.13
$2y$12$OMzoSWTMLV47m4CGGgpfBe4VnthLKaDhvzd9tkMycKlm0bZP3bmOu
Output for 7.0.12
$2y$12$IRM9SE4W1YL6yYZDKPfv2.yswdFZA311Jgss7O4ny5JlPkNWpy90G
Output for 7.0.11
$2y$12$g82Rz1GsiszbZOvhj.YdIOhWAhrpGt/5r4QJxsbI.Hzc4lcBUoNUi
Output for 7.0.10
$2y$12$7vR/wnb4YQ.k9jdoxDaqMu4h2VL3u4J5K1vBLc2FV09.ZiQL0M/fO
Output for 7.0.9
$2y$12$aoL7dp0MWs7zopXnmy/Xb.9mO8.F/qC6ephjmh3tWBk5MJV/LqdBa
Output for 7.0.8
$2y$12$hJ2CzKnev8FntJjPfNMOxuvFwnP7uk3YS3C7tZQzsmyuacTk3M7wa
Output for 7.0.7
$2y$12$/hODf4jNPDVheTh0nCNxg.GfWyXfaRylhfIatybk91w6T//ixCDUS
Output for 7.0.6
$2y$12$aODjKLhU3s9SYF2rxRx9OuuU8k6gls1C6FYjJRaMBv7ymeBLhU9LS
Output for 7.0.5
$2y$12$Y8gCVOHLRfcYm1tMuLEUjuAWepR6U.CC7L0EBhIkh2hVoGqgcRQyi
Output for 7.0.4
$2y$12$Z/AkjXpWX.ePZ3C1oZ29I.0t0dyDx/RnC7T.AXYz78H2Fn86C4rtS
Output for 7.0.3
$2y$12$bRqHPWrPsIOPyDostm4DaeNxFDLedqkMafNEXtVgsABFuPzbZduvS
Output for 7.0.2
$2y$12$kpmfwPe.ZsStsCRQCkKM2uIa5r9gV/9ls8KE4qvTjJyaTYNnKIf12
Output for 7.0.1
$2y$12$ZwByFIMA3Cebyn9zL7jVsOw5L0Tk0KCjyx5nD3tIBgRxpReXYS35q
Output for 7.0.0
$2y$12$7eEY5ypoj.RueOJ3BZehZO126uH4trZJX8wgTIXKr4CcFia5aTUOy
Output for hhvm-3.13.2
$2y$12$pHH2k1Z2LezB8kKeoEfh5e7k4hRcjRrSs0JfZyiDdhtoWDy5QWG4y
Output for hhvm-3.12.0
$2y$12$pdx8AysGGltjT6nuf0vcoOj2QyywEqC9K7fYwf/JdqBQIkp5XltKO
Output for hhvm-3.10.0
$2y$12$oGh3YSFpfLZdLkwo7W1PxOya98hbBdYi/aigWf.eEA4etQ7WwcOWK
Output for 5.6.28
$2y$12$sHnU9JL2vBvC0l8roJwkUeYXMRA9/Mp727zejkD7YEJFFRLhSCdH.
Output for 5.6.27
$2y$12$po55Rb7GsOa9H5puNKZlkedRytSTr3rgELUVB4lp9xdFQuAHPHwDG
Output for 5.6.26
$2y$12$UsMXGykQ4OyOiNfRLx4l4eMVsBfAm4RZdvlaNKE9fHFoSgiMPBK92
Output for 5.6.25
$2y$12$.euB93B5/C./t6X07k048eXGAODzVOQZiG8Dy9V7hmGSkHIN3L/em
Output for 5.6.24
$2y$12$t3YjFFzxeonkQnKKH0RNOO5.KVG7t2D2QGhgtlgTH6AEYpDqCf4Sm
Output for 5.6.23
$2y$12$AxKJTC7oXtOsOn51mr0xfuDdEDMxyxzZdkel5MKcLkB61HJmnyAQq
Output for 5.6.22
$2y$12$wRVr6GrxbQuFbZXLsb55yu437vdtJ6nH6efbeP9kxQTkPS2yzX4oy
Output for 5.6.21
$2y$12$vq4zKHsGPMaWZuH.ElfLrOfTBxi7Wcsyqe0YS2hdyGjv8FuYZknPO
Output for 5.6.20
$2y$12$BmBXM6afXH5r5iPIGQMr.Oj6Wbx8bOqulbaMdLLCBLZ.JN6r625we
Output for 5.6.19
$2y$12$k9uBLNuIJWFShlOe0xfzAub8Ku5yI6L4QvSnk23ewshNzpU9Xr.AK
Output for 5.6.18
$2y$12$nme42IKIVHlVidjWxs58decZk3z0gKQ51TpkDQag.B4g6CrBXVrhq
Output for 5.6.17
$2y$12$eG/L/s3JLqF1yjLZW23Hw.7PeTnP/syHzHD4/5ZuOiMS49/Q66EGS
Output for 5.6.16
$2y$12$Eu.arJz/dEqK6pPFgR11.uYjVmoV3nEmKCwApU4J3KvdQPCbw1kZm
Output for 5.6.15
$2y$12$ateEph/9u7rF2Lrj6/9x9.6byMYdc5OZ74FYHbESUeOBTR.aGDolK
Output for 5.6.14
$2y$12$b0ovayti/vepQF/mHgKJUeA.s3xDnhkICtGZq5PLYL1rW5IyqsZl2
Output for 5.6.13
$2y$12$SldGFf0klJ141eDNcqV3zukHMcf7KY8P/SFDjp8/G5r7e9ebaVP3a
Output for 5.6.12
$2y$12$sOuwHcf3g50aqZIo3Nsfmuf4aiFt5ZJLau9QMHQ6w96vuTYuYX8oW
Output for 5.6.11
$2y$12$faIA5rukMM8wDreJldm47OLvrku6ZKXkmWrQvi0Ko39pIM.cIFLJC
Output for 5.6.10
$2y$12$A4uCL/eRLAfregDQ51rmUus66vvJ6i4MDvZBzaW3QM6MfrOuS0KZC
Output for 5.6.9
$2y$12$r99Pzk504cZVbb4t.fh2c.8SUr0CJPl5k5tzwL8xB9QpHm1I3Qh6e
Output for 5.6.8
$2y$12$8aWsBw/IZXtH1uNsljJQnuiqpY49SfHu6D.EeqrgD9N.OEqApwJWK
Output for 5.6.7
$2y$12$XQndPceVUSNUXw/d7eA6iuEq0xMf6Jx//zxDnnl8Oe678toLMFBqG
Output for 5.6.6
$2y$12$1/dm.jkHeYcJTfeN.vfrh.fk0yPHSiQhwZ/OpYEHDg/yPY46Bm/hS
Output for 5.6.5
$2y$12$DN8exDDT9xKrpD5133XqKuN0JUZENoeN2qsan.Hnof71jzHrzEUxC
Output for 5.6.4
$2y$12$ofivczd/5UbDwB45ESHRXObHxdDmcB1AKTiqgEMGxkApAkTwbSpM2
Output for 5.6.3
$2y$12$iUIVu9FjYTcLUnPafmXbMeZ25k2aQ147X5h.HwjT/S5d2omm.x9EO
Output for 5.6.2
$2y$12$S1qyPP6XLDMgwJLDQ3gEt.q9kOzYgGOHblGpx9vxMWqZtfBpU2MtW
Output for 5.6.1
$2y$12$Guj5hGG3/EL7tGJJGcJ12eBsjb1KZe0apbMo4YOHreuhsFe9yNBDu
Output for 5.6.0
$2y$12$u1HYREX3lKS9K3j.t6uOt.iKYxpXfRZG0GHm8428wKCMYxPzhxZoK
Output for 5.5.38
$2y$12$9KrLXFLBf42CJF2A4yD.2OyGRsE9Hqd/Trwg69rypKoczujN1qpZe
Output for 5.5.37
$2y$12$J.abiU07OGNIpvCHiTW3uu.DzghitTh9L3D2Yn4Q0F5FeVSDzTvCG
Output for 5.5.36
$2y$12$DYxZbJrJkpg1ZnW45/CDK.LRD1FN0vx5GoI5nIfwDsWpfTl8/9EuG
Output for 5.5.35
$2y$12$RH5AitFl5e8kKtrBBBxfC.saSTvMJxWnPl2uOxY8mStZLIgSvn2oC
Output for 5.5.34
$2y$12$ukdp24yIvCqMK4ac40i07.2LJH8mW5eImaehvDVDCkSMEmGcRamWG
Output for 5.5.33
$2y$12$/40.xESnPlBgDIBDhLI.f.9uuOb47BQYcWY8D615MrHrSbyfPKaf.
Output for 5.5.32
$2y$12$dIfpB3N/VHtxEHOpHifC4.4e6t8wwlcoeMjG1pm9C/khrAF1Q52Hq
Output for 5.5.31
$2y$12$FuB2eAhfIo2eLDGExn8hDOR0HxvYlpqdBNk1SfXxrsjIxjSuUDo0S
Output for 5.5.30
$2y$12$zMrd2OWD4aMkHt91eZutMuuHiEAXEnyc/f8Wm56KrkgJDrqiVMUQe
Output for 5.5.29
$2y$12$/e4aPwLY8fWbWTAMh50jjOpkZw.euFDEndI1HKF0fpCjVEplGUVVS
Output for 5.5.28
$2y$12$1Zv.vu5oRd4c9EpjuYtfi.Yyss3K7IGApi0bw6NQTKIZ1yqpfh/mC
Output for 5.5.27
$2y$12$SP6MOMPjp9zC/BXCm5IL5uvtDEPqOAZCAkCT2r9sSm3PGWaftLBAe
Output for 5.5.26
$2y$12$FtAWTA.idZjZdhtZfSIdjeAd40x70NLgHS2dhZhcEidSp0EiISMOe
Output for 5.5.25
$2y$12$LDckz45Xb.zPhd/Qtb8.ruuNDXPyDmH6IlLk7kHNk0/S8bvorTLbG
Output for 5.5.24
$2y$12$0wikFftvsS7rr7yhnlhxPeIMest8B0rb.hHhXHtElZKMGBHoeZHqq
Output for 5.5.23
$2y$12$SzfzJxnEgWxWFRoB3T5xo.ThbKiaw.A4A2qTDHG1tZtiY.WJqb3p2
Output for 5.5.22
$2y$12$fE8XhrtbBc4QuvuTcICMW.aN1bAjNRP8MkAabPR72UxKX1nGIlGPC
Output for 5.5.21
$2y$12$a9awCYSm4XF9HfdC1uNepeOsqAZs0o1yb.i/786LTUbidr..EUq6m
Output for 5.5.20
$2y$12$tPl0XIm2lgJSFSbFjsLU3ehPz621EAkuqghDqIET7dKzgKK3sMlNW
Output for 5.5.19
$2y$12$9p6Q5SeS5jOrc8x6hSXjkeCX1XvqdVp41OsTtt4yay4LNXPpBy1Fu
Output for 5.5.18
$2y$12$oTeDOWgOErpNApGu4PBupOz2EfAkSmh6UE7gJT6CGf8CMtE7Osn8e
Output for 5.5.16
$2y$12$Bu9Hn/4mX61hMxgvcx80EuJ1fL06pQmcIIy/E3u.BsKLE/fXhV03i
Output for 5.5.15
$2y$12$OyLkYTsFpDwjuVZ.iMNPLOAhOWXF6nYuXsbvvseCrhtoW/2ppnFDC
Output for 5.5.14
$2y$12$/0v8PITuH4lQebFryzNDD.7JKrEr2BfrgixVaHFIRaI74Jn/m40PW
Output for 5.5.13
$2y$12$6u4dbAEjl.ESoEeXt8GCDemqWu8nDvYRp/LpK0GdcghHvHjAvi1nS
Output for 5.5.12
$2y$12$jwkvIDIPdX72ix7mdAxSauLY8KsK/MpVORk7u78faF2uhQKbs2hdS
Output for 5.5.11
$2y$12$Z6ui3mpUUIWFlKUqaHkXx.AhNj/xwUogqUfssc45ezw4oIazyEGHa
Output for 5.5.10
$2y$12$2USAZrgkTcB/pT/mpsw1bOtEkGRXt1tzwrjLDl5sXLWW9YnRpkyrG
Output for 5.5.9
$2y$12$e5xNZnxVzj86DHLoUPqtleI7jrXW7Hf1Pu3J24afXuMkTgmH.gLu2
Output for 5.5.8
$2y$12$XXRcAiT7ebjop57t.HFD0u7O7vYZL/R5oijeEh/cs1GqnNmRu956.
Output for 5.5.7
$2y$12$1Ul1Nm371xStpgeZqxIzg.ja2QwDrUBPWvw97zlQ7u8LomyuMvWq2
Output for 5.5.6
$2y$12$kpT0G5sLkvSyjndFGlOF7uK9sKNEv8APvv/mqbAab2mIZHuxrYlNG
Output for 5.5.5
$2y$12$N0WhUcLJw4Daekg5MsC9dO8V.vVIArsFxe97thh3SRA2bu/OA4pce
Output for 5.5.4
$2y$12$gI030L19OjIt97CVh7u6D.Poe5a/9mxbic.icxtYuCdAioK/9Oddq
Output for 5.5.3
$2y$12$4FAuQtL/CmgiXe8wL5Ctwex/gqyFTZbXhyYPFSGYEhFZ3KH9YE7mK
Output for 5.5.2
$2y$12$RPh08g/NOnzONscChS6V3O9KEazF.A75MUHyxcSiqvUs3lDmDmxP6
Output for 5.5.1
$2y$12$z38Ei6OTNUgJnBN1jdTbfuEdaWhfvpPMySD6k7LBXSVLKIewKHG86
Output for 5.5.0
$2y$12$Qd2Qs5374oJtWpT8SKOpLuLhtK.okjsrTzF8PLzpJKs6/y2UbXV1G
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/vWBBs on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/vWBBs on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/vWBBs on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/vWBBs on line 2
Process exited with code 255.