3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$b = md5('password'); $c = password_hash("password", PASSWORD_BCRYPT); $la = crypt('password','$2a$07$usesomesillystringforsalt$'); echo $c; ?>
Output for 7.1.0
$2y$10$b6vbeaVWk6ucscTWbuYKw.5sVpCMURFZ/DjhhvGUfmZH8etB09lfe
Output for 7.0.14
$2y$10$vcDlLYTNn0ROBpcB.EYCvuuFvrCuuOUrLXYjxBdugmB72.3AC0sbS
Output for 7.0.6
$2y$10$HWfcZsRT2WHGMgOr9FW.Kex8ozqqtYezsqX3Hr9hrhIpTm.sIOdp6
Output for 7.0.5
$2y$10$kdJZ.M7yq46HCJfjdS56ZOsbSJ.zqapKWZVlrqCc0ABfz04UCk5NO
Output for 7.0.4
$2y$10$suCUlLc3D4u3zYfSwxr9Fe5YFTt7X9tTg5eChwlLYeaco05YeNp.S
Output for 7.0.3
$2y$10$PsCk2NPUXNfBJZHDJZVaV.Nr1/peAm0kCaTMKH7h4EXS0pRCK3akW
Output for 7.0.2
$2y$10$hyYxBVILCIJuTV5t0gHgDu3Tn9a8k99DxH9JE6V8QpLG52lpv027e
Output for 7.0.1
$2y$10$4AnXljjsiLr/xQTCMQWngezShchFXaXicl24q5lqkEiEIXoeAKIdC
Output for 7.0.0
$2y$10$Si.KM73dFUJnES185k.6dOsw1F2ih1ILCaicDBwC89VgKikIap4G.
Output for hhvm-3.12.0
$2y$10$J0Afem.JyqqOh.0y0omFeO.lthKdnTE14SX6xRE9IC.kWG4/VKVaK
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
$2y$10$jCv0lxvziOpb4ZDKa8x2uOB99CRpwqCq0NsF9L6v0QcTp5jSxljYG
Output for 5.6.21
$2y$10$SmFHU/.yGRDmMWDpKBDI9ORa9zZh33CnRZDllB/71WDK8SmDx4qWS
Output for 5.6.20
$2y$10$Upb9VDKc8cBYbft7jNozdO8wDngPV9Bqwyhb0J1apiNH044UcokkW
Output for 5.6.19
$2y$10$FfTTVyyiYzoCJrvgBaS/P.6F5IBfaLJh8h/goHPCe5IDhWkZ8j7rq
Output for 5.6.18
$2y$10$K1y29jroIJVEwkFgIuF6DuvBcSdR4ztWApi1MLCZwmr2qfKMbfxjm
Output for 5.6.17
$2y$10$25fuztmyklHnd/0ib7gQleu624E/FdwXGmnRN.zM8bC0qRHepvf/e
Output for 5.6.16
$2y$10$MOvTwXS8EA6WdM1P9zrrVuuEa3i4OBX5/d/5A/iNahVAq3FaI..vK
Output for 5.6.15
$2y$10$1e6zWeU6AKSZiT06SOJP2.Mi8SbU9a6hIussW6cbFnosUYNuSgjfa
Output for 5.6.14
$2y$10$UGrF2Q7moB82avrKN77JyOyTGAgY/zSXAfYIPzvvmHsz/vGvdJqTy
Output for 5.6.13
$2y$10$Dx9Jais3Bs5f9Zh8PCesYuOMzQqNHv6CbWD.qUdCAJl1mIN6K1MIC
Output for 5.6.12
$2y$10$W3RZ9fXWQEQNo2Hbpvu8NeGrNA3/VWu5vw6DSlljFlKXw0Mw2NJBq
Output for 5.6.11
$2y$10$QZSwhFYjyT0OVnJx0M14CepkTEfXg4J83u95YCo1AV13VLUglEXSO
Output for 5.6.10
$2y$10$4UfVZLDRcsjpjDnXiQGwM.Hmz/.uw5oJ2MPT.CeQuQRWEW674uVPq
Output for 5.6.9
$2y$10$AB0TERdh91yIkyspqAeuQ.tmtv/AqNsWtcRVi4DP26Bwr7mBPM/Bu
Output for 5.6.8
$2y$10$tpzwuOJBPNvWVo6iHmkrEuA38EJqni49mLnbJ9VukMW4bZ3W7KOKG
Output for 5.6.7
$2y$10$lDmgcmkV2ApgP7.s4TEXTu83TwJlggKJgXH2gEK5S7owwjbWGzF06
Output for 5.5.35
$2y$10$pBQxRcZeSD7foz.Z0KH5teXC4t/6lwtgBNDotCOTU0Sq0Ta0qTcMG
Output for 5.5.34
$2y$10$t1i8grQnEQMZeIkdgYseZOmrdUgmosgNPicxtwsSz9xpm1MnkUCTa
Output for 5.5.33
$2y$10$3GFeWQOdZf7GkNvhZ4byyOcxhXOXcJjs5Wl6kGGUjGSXa.v.j4IW6
Output for 5.5.32
$2y$10$13ebyoNOp.WJfQG5sWvFC.rj3WXvpLIPoSdB9T3o6T..eyLlg4682
Output for 5.5.31
$2y$10$mtObMpfW5vVObUVpz96m0.0HKE9B5k1j2b9vdV2ATwx8Vw02Hr77q
Output for 5.5.30
$2y$10$EdDJTtpU8Alsop87nLAPSez9NwuWwPc1xMmC7XE/a.JPyoRtXJDRG
Output for 5.5.29
$2y$10$OUG7Rgoh6K9Lqdh8bULZX.dPQkByfkNLtVZoSIxz52TqFZ0lVgfIK
Output for 5.5.28
$2y$10$dYnTZaiCiLGIpLVA.kCshOQgV3PG0.wnnTSRJCSuVDGtzGjw6lMSe
Output for 5.5.27
$2y$10$g6fL.OnDfMRUZdf/K.k0deQvZclSYjF5dfZlabeS5KCoGpACy1elC
Output for 5.5.26
$2y$10$A5fPsCOneDzXClMxDxbzI./Ijw2m5ClR5xXjoOr4N20P2Bd/y/7ae
Output for 5.5.25
$2y$10$wxVUTLen1Dj/WKV5s/WtOu4INVkypbpbK0HMH4rOrcZiBuCjevJ3e
Output for 5.5.24
$2y$10$9PFhxTSJI38d0XpJizf7kuJZ2YxB/dR4HV5xl4kDSzZejwCumFo0C
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/7A4ch on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/7A4ch on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/7A4ch on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/7A4ch on line 4