3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash('yeah', PASSWORD_BCRYPT); $v1 = password_verify('yeah', '$2y$10$95kOr6nO.ycZjXn2bZsZKenexGyaquKQVMWWL6j/QdX1xvb5MmRri'); $v2 = password_verify('yeah', $hash); var_dump($hash, $v1, $v2);
Output for 7.1.0
string(60) "$2y$10$fFQeSroGXiem76FtPYjmgOGHeeVrEtD7X3/riuwpn/EWGZQ9hIrSe" bool(false) bool(true)
Output for 7.0.14
string(60) "$2y$10$RAe1j7SxiKqY6JiMDzG6/.9SkkDP9n/xSLFh71TFHilDi.rmnYCgm" bool(false) bool(true)
Output for 7.0.12
string(60) "$2y$10$tZ4A7MH6wh6muCPEtyiLG.ewUpO.e5CRPYxkh5GGHVAWTMjtJ8Z8e" bool(false) bool(true)
Output for 7.0.6
string(60) "$2y$10$IpuwZkas3FKMowVgfu1kqOiXAdGNYnajYGtIcWVMgJYpghlgKVb4q" bool(false) bool(true)
Output for 7.0.5
string(60) "$2y$10$umUdYDFsIGgkAnKLwXYidOowBik554viZJs9g0.FtqAB7zZ8QzKOG" bool(false) bool(true)
Output for 7.0.4
string(60) "$2y$10$afAe1/yEHSQ11iMV1GeGCumTFRrFS8HA4w1UI6T7CREQuAQmYMsKm" bool(false) bool(true)
Output for 7.0.3
string(60) "$2y$10$9/0X4oy5lRiqazq/SvBtqOXqU0a.fS5LAXy.6iH0VQOy5Cp48Tiey" bool(false) bool(true)
Output for 7.0.2
string(60) "$2y$10$x6ElRmNQuqu6.OEywmWEPu38AbjCaVBzfhXmYjhAntp7dfRTvf/1G" bool(false) bool(true)
Output for 7.0.1
string(60) "$2y$10$Qb77tTIww2gBwSaGZVw2muuTpHSMgiMgN2mpV4Mq2UcwvtoDgXrQu" bool(false) bool(true)
Output for 7.0.0
string(60) "$2y$10$R.SfQZEij7o6zaHZrd1cJOltiU/A5.BZryYd0yROMJU1hedTrSzF6" bool(false) bool(true)
Output for hhvm-3.12.0
string(60) "$2y$10$tVYFgICEJkWDB4Xwi19/pOrryNZkaBj3NGw1dV16s4jmwyomgn19q" bool(false) bool(true)
Output for hhvm-3.10.0
string(60) "$2y$10$cnzQRUyCSQyeL7wy1KLwZ.LYZWOpNikm8YxXiV9Ogca7CwWP3HvMG" bool(false) bool(true)
Output for 5.6.28
string(60) "$2y$10$25CAeruYDPsmuZKaOzAzV.GGy8Y3p/TmWmxz5YGM6ldqLx4H/Twg2" bool(false) bool(true)
Output for 5.6.21
string(60) "$2y$10$GmElwYxMGdho2s94FYt5WOqYybQB79Oqp7NyupbpxyRO0swspgTE6" bool(false) bool(true)
Output for 5.6.20
string(60) "$2y$10$.Ud0F1nyzpHHTX8rZmDJYewy/gb9Lw4Z9c7jC2snOkgTUwziBMbFi" bool(false) bool(true)
Output for 5.6.19
string(60) "$2y$10$CgQ1GqX8FJNCHh7MCmDo4OE94Ss/7HHlc.66Mw9pybXCiiNmFAuru" bool(false) bool(true)
Output for 5.6.18
string(60) "$2y$10$XR1V0kkexaSDM/WpT59En.QG6JjZgxLWzRjp.Wx0JgJtkxskxVkAW" bool(false) bool(true)
Output for 5.6.17
string(60) "$2y$10$r1POhFEHH4uV7BMBxWwo4.3nNdhLVSsF2j4nAhgpxFuJADA9aCiMi" bool(false) bool(true)
Output for 5.6.16
string(60) "$2y$10$vbf4EqyZJuwXHLyvtbdmJujSaEa6mq4NmoK5izLwIfLlOHj45jWpW" bool(false) bool(true)
Output for 5.6.15
string(60) "$2y$10$Y91oZF33yiGDcC.pJRemre279fy3bSIOMF.HY7cy95iogtDI8gjDu" bool(false) bool(true)
Output for 5.6.14
string(60) "$2y$10$xsQ.UuRgXMq.8/OcaaRQd.OOSM3xWbnYPPWDloBFZdrYO/ts7ah0m" bool(false) bool(true)
Output for 5.6.13
string(60) "$2y$10$1OCJJpQIN8CTDZ3ixSqdBOkUW7K.cqwSFTzq7Wor4.BcKbK101/f." bool(false) bool(true)
Output for 5.6.12
string(60) "$2y$10$BVKjIdFSJPBb28STGcxFEuzFsIQRGas6FoShcq5ralcGJWCq1iWbq" bool(false) bool(true)
Output for 5.6.11
string(60) "$2y$10$1hbCEyY8iYphf7Aj/nySTuYbP7NBJgVFRR0WmxTuRukcKKgxaQr7G" bool(false) bool(true)
Output for 5.6.10
string(60) "$2y$10$Qr9NeA9RTunVhWrRu3rFgeWeZpZw5kC7jrE93owaNsDEePNI81ULS" bool(false) bool(true)
Output for 5.6.9
string(60) "$2y$10$F3YCNpK.DecTS9lE.KBn6uWrCvg34XfJu0mUQVTv0XN9LHKInIXDi" bool(false) bool(true)
Output for 5.6.8
string(60) "$2y$10$APYiNVvBvDO5Qx5lWJVfUOsdgmP7K4NDNWVrPZLBITeH5bp2TQiZq" bool(false) bool(true)
Output for 5.6.7
string(60) "$2y$10$IqhdQZGFPSPSI0gCq50ED.5qXASLrAuXXLMwiSjh9Yxg7GPC8iN6i" bool(false) bool(true)
Output for 5.5.35
string(60) "$2y$10$863Dp1hYjXjHEBzM2mx8iuKQv9qYC9uAsvPXwMeo.eLk52ooX3cee" bool(false) bool(true)
Output for 5.5.34
string(60) "$2y$10$yfyMGYdwz6qykvWlv/sIoOrnBifWCHT9YvYD8DJ6p1gSw7mpDZ8oq" bool(false) bool(true)
Output for 5.5.33
string(60) "$2y$10$H/AeGa7NWizYTt1qNeYKiuZqQhheYhEu5zx5DiA95v2sLjiHOWXN2" bool(false) bool(true)
Output for 5.5.32
string(60) "$2y$10$uBc5w/dYwg3sSl7ysqClAOouTvApyAyD41IBTn7F59wQwFi0NyZ9u" bool(false) bool(true)
Output for 5.5.31
string(60) "$2y$10$HKjLWbH.CY2twXYh8kcQNuhMMWZbW5XmA27Oaoo.CkabYbXo5Yvxm" bool(false) bool(true)
Output for 5.5.30
string(60) "$2y$10$.gH41XKH2ihPvLCR.8q88Om89X3uX0fZZwa/FxtrZ1EiVyetwRRXe" bool(false) bool(true)
Output for 5.5.29
string(60) "$2y$10$l5f4ihAP6nkujIl5bXKwmemjh.H2WsC9lhKT.2dq8TSqvT5.juQ6q" bool(false) bool(true)
Output for 5.5.28
string(60) "$2y$10$LmFnTMXSZ5hnSg9K5YL71.D3R8tA5amuzARuUAEyxr2WmlAH/lCCC" bool(false) bool(true)
Output for 5.5.27
string(60) "$2y$10$0GlYesQ4Pyc/OSAlTF7AOeMWUEZs9vM3lIPuPzpti1d57jHmWTjSu" bool(false) bool(true)
Output for 5.5.26
string(60) "$2y$10$DS1myAdLfUhw3Y3H.Ceew.yUvw8wI6sDn/C9uUxeTIIHuA0k4wqmG" bool(false) bool(true)
Output for 5.5.25
string(60) "$2y$10$8lYgZQHxPC9mUvT1eXhkR.WQioDRrWse9rOY5iQDi1VwVOku4Ajp6" bool(false) bool(true)
Output for 5.5.24
string(60) "$2y$10$Js/VUOf89k2vGI8BCoSpx.u7a2FFo8n8arIxi3nUjBheDv8TK358G" bool(false) bool(true)
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/75mcg 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/75mcg 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/75mcg 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/75mcg on line 3