3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(password_hash('foo', PASSWORD_DEFAULT));
Output for 7.1.0
$2y$10$feJ5Xiga2MSb8ZqaBVBdH.4iiiwGpnGhP4Za7JVvXRDrfG2AXYMHS
Output for 7.0.14
$2y$10$ZJwjFdrF24ikNa2hBuZXrOCD2fdYVks0BIsF8nWjRBbsSEyaz4mDO
Output for 7.0.6
$2y$10$WfpqqGtauhF.m0kP9MCPr.CM6wzMYKN.JJxyVnLYzJmlAVWlFLV6W
Output for 7.0.5
$2y$10$xFRBBxFGqIiENJNnWjPvP.pU6la6wzRDCf0v951aT50hD/x.4L.7q
Output for 7.0.4
$2y$10$aSOaIwq7DP8g7iV3JR.HOOTt5/kU8sBZpE5lBZif.NWkuuKFHeN5O
Output for 7.0.3
$2y$10$LQdw7ce4VwKp44oWF1M2BeBHS95U76b1ty59XpGKdXzgfM/VZ1Biq
Output for 7.0.2
$2y$10$KgGCwwOFK5yd6Ep4nZsneuBuWrXFhzfSQPhuz7zo.eBfTStuES3zy
Output for 7.0.1
$2y$10$/VKkETU2ABQfzqayX0S4ee594U14kIEg2gQZuL5cEEZT7gcffGpvm
Output for 7.0.0
$2y$10$UEEJICMKjoTzgXONw3YDqO6KFN.JimNRNTzNalG80fdoUBoY/dVvu
Output for hhvm-3.12.0
$2y$10$6mSu.jBCJDq3il4p5akShuXhlNG4GQreOo0rAL3JsvprdAvk2phwG
Output for hhvm-3.10.0
$2y$10$xB6uUmWk/dpmlhUofuQJROUgqDxHmhqkteO9tviHrAVmK2AoiAkSu
Output for 5.6.28
$2y$10$o7qW9/ZahhEKkJu63KkLhOYilgnMlBIZy/24/emwSwCg3CLNwC41.
Output for 5.6.21
$2y$10$.JtvwU26SLjoj.eaVdicf.BsNDrqoWZxX.mbXkqDRQ9OO0npyb.M2
Output for 5.6.20
$2y$10$.JQyVZ/W90cOAc0dqo5VRulwzWvuh8oq0h8F9Yj2D0j6JQ8HESXdO
Output for 5.6.19
$2y$10$7km4.BGmgd5nSVacLe7hmuCmdTDJmPV/Y7s4pLk/ncw7yvxjG/yYi
Output for 5.6.18
$2y$10$MtqTStrgwG1092qsIzTcHe518w787iW3JjGHfFJXftHwg42.wCPEG
Output for 5.6.17
$2y$10$pV2zRAAzIeHtPJnvniq2LO0JyRPSQFLyWze/QZ6fnnUOp1SKxU6Ue
Output for 5.6.16
$2y$10$SRwGXvKJA9qyTmuMVkfikuMCcwjUv1YVaDa5CnZzegOmhWCBj7F7C
Output for 5.6.15
$2y$10$r4j09XOODF/v8klLWVKjueB2fX6A1ALXPOAEajY9LukKzLuBbdzsC
Output for 5.6.14
$2y$10$Tcu/tZyFyRAXnlbLPHe6HeY//2DRQtRGtsM5c/G4mEFmlf4CiLUvu
Output for 5.6.13
$2y$10$lQv669vc42EG25cPBP8RAOXiYMjrhVnSTzf44kXzCc14chlnfJgPq
Output for 5.6.12
$2y$10$gE8DBfW.3YhLIBEc.494P.siMGLJ2dtl83fZHoxlT0gWit.AUH0Mu
Output for 5.6.11
$2y$10$9HtQz.higIBU1OVx8wxRd.XCexEtiPq2kjUREYqOjbYD0TchLyf6e
Output for 5.6.10
$2y$10$3o/jSbU.OgBlagN7fPZIg.C8ERtehcSQVMZpVLnwgUipmcsJhBvT6
Output for 5.6.9
$2y$10$qkwPj8P8mc0TrLsG9KPszOyNPWOs9bJzcAoAs223C9K6jTFhXpkbO
Output for 5.6.8
$2y$10$7u8zEC4jVra.w2WEW/.2deyfni7o7x.97bDtIfxUaLwi0re2DFBfG
Output for 5.5.35
$2y$10$EXumUAjjzKEcKdlEyYDnx.h8luqnEJbDUYy/qzU7Vuss7UBD10NmG
Output for 5.5.34
$2y$10$BFRYY6xeWXf8RzQUEPUAyOZJuGaKWKNlYc.qG9iiJNzkK6pymoSTy
Output for 5.5.33
$2y$10$KyGqTo3oi6kv6.uRHinhY.eG.V2iQ7LdgOjb6T/GB4BEgVdOomkQi
Output for 5.5.32
$2y$10$aBLQxKe8a1wSSbHRcWxDEecepQMLcn3bmViZBobxpDkFUD40NpfgO
Output for 5.5.31
$2y$10$x/SKNhRgpNZshAm.ASkXfeEXJflY3CfbdDwwjmx9o2o1eLovFFvtW
Output for 5.5.30
$2y$10$p07KR9FF7FtBm1yJEAtkK.1KzTGYGFvOPHWY0aczFppzTTzzh2rke
Output for 5.5.29
$2y$10$6VZ9HAWfI2q6I3CKCxhxGOqRDiTQ4HfZas0.GQIi06ZvtLjLTM4kK
Output for 5.5.28
$2y$10$motsRKu/b7FHsJ9BR5GMgO7ncLFEXTs/YFe1INhqtwG7HO3zhNA3m
Output for 5.5.27
$2y$10$xUfjIOFVcOYjKRpR/IUzuujTvhwTCmg8rxIK9O005Dj3c8Di2UMvS
Output for 5.5.26
$2y$10$HjRRdg7pK7SgAXUggOHQwegUqh8dY15MyZVeKTdoIB3FxJV0jHTcu
Output for 5.5.25
$2y$10$3xiCmAiMXdSSSbxEhA3Fnu6ksqgb6V0uK4m.B3zzxFas4VmFOCWGq
Output for 5.5.24
$2y$10$mXKv.pTvrQkyn7QU.fCP8Oyk/sRA2kKsmegrPvG/1FwubKVcdqQZm
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/NSOHm on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/NSOHm on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/NSOHm on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/NSOHm on line 3