3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pass = 'canyouhearme'; $crypt = password_hash($pass, PASSWORD_BCRYPT, ['cost' => 11]); echo $crypt;
based on 3P4qB
Output for 7.2.0
$2y$11$fFS1wuuGnFPU.p1.llGa6e89o4WoDVor0nQiEfr/1njgia9wPcIVW
Output for 7.1.10
$2y$11$UfUPKg5MSvQEA.4f90pUWOZWvCCEW1O8T8X1rLIcOm1ZRSVbiF/ue
Output for 7.1.7
$2y$11$jA1A292eJUKLcpzSufkiQ.HmDlfkEYH1h2sAcquNRmiWv2ySrg0l2
Output for 7.1.6
$2y$11$NvZpSjNjNeUoVuQK6J61B.VWLUn6jkMi74JTE2fEhESNylWDbyWdu
Output for 7.1.5
$2y$11$EPxtSV3rbpeDZTnjEP7drOrH5OPRyNynXbRKdYFcvd9lLBe8I37ca
Output for 7.1.0
$2y$11$LRYpOdC4Ww/521P.lkIw0OPr.3oe7kBSykdkVIztbeNAY.eVzRX1K
Output for 7.0.20
$2y$11$ASlcB1cfeMciQGxj6JU7PepqjzgvPuQQ/nM1EsNAJOKRsy/FwKlB6
Output for 7.0.6
$2y$11$7IxOvN.QQZgRNpnon790XesikuyZzXCzKPReTl7M7HnA7DTO/YgCG
Output for 7.0.5
$2y$11$ZyMsZaP9eKGbudg4FuAKpOyX7B3UiZZ7DTFm4VXiXhDiIa7kH9kDy
Output for 7.0.4
$2y$11$39RmIr6wIk.QZK4862s2Je1fkZPdeD144S1X7hnKiaGHN7ZuwrSFy
Output for 7.0.3
$2y$11$kubDDWA6RzefOLhE.sIDGO8BzwHocQUidX.Qfyga4d2nLzzo9H13S
Output for 7.0.2
$2y$11$CzTEQkIq9inVC3GjQQ03suACFQ.lxDInJ6azGz3ckwMqNjYM6gyLO
Output for 7.0.1
$2y$11$dId6PH2hf.5LGk708v8JG.PifNl5lEeWCf832EmdGHIb3XrYCOqV6
Output for 7.0.0
$2y$11$vGquWmYzvTP0ydiZdCsx0ef36R7SG0MiBZ1lmNiwCTDlZvQsHODwO
Output for 5.6.28
$2y$11$9H40kFFm7hUg.Jtivk4fbuZXmoqnh1Zlf1fKhxQduVZvcDLx2ljJ.
Output for 5.6.21
$2y$11$rF7/2wGKNFjiD/NStr5nOuaEN3EBzlIui/Gs3VMX8cXH83SGzjBSe
Output for 5.6.20
$2y$11$A3HHaBQF0s/sbEdctoaJa.8E736xd.GNLJELsPkk6uh.0doPzQ43.
Output for 5.6.19
$2y$11$r1b9ZtDfv1NaMEitPCohlOEce57P41QLVfakDUKmhRB2lr5gC73SO
Output for 5.6.18
$2y$11$xGqhkaV2JYLj5Vnth37UqervWeGGb9M8.W91Lv24eHgOZd9tJ7ALa
Output for 5.6.17
$2y$11$T09CSXX7ywNobullanfGTO89w/pFusmNy.RB62ieDzyBBXIB4euGC
Output for 5.6.16
$2y$11$AF.P2A52FEkIwuwiO1v9l.MuokEOOq55.TCSNz.Twrp9mRpJUfLVy
Output for 5.6.15
$2y$11$zb52MuMr2UzVtxGh9OMMNu.2PdqQmUPL4TBgBEnXBoG2nGtrD4XYa
Output for 5.6.14
$2y$11$f3.gZw3DbsnKrR1r1xTdcuikWgf/fLZ.ieDRUiw1Kp4ymV6LTcR1u
Output for 5.6.13
$2y$11$CB8YaxxmMeU2EBSB9rO9QeBqHhaPDw4pJkcvAztdQ3jtC15xZPca2
Output for 5.6.12
$2y$11$nqZbd0cBi2NnJSEqQq0.felNCpR8N5DGli5gVcm8rmdDp5Jmer1qm
Output for 5.6.11
$2y$11$phADeEeE5t/ENvBWxIitzuLAHJIAsNCssonTDyzGXOCPG4yOGXnlm
Output for 5.6.10
$2y$11$Bv4YXzQ7l3hWXR3iyTzYL.tm5DOuT8yayE/rc2K/sUvPKqtQniWs2
Output for 5.6.9
$2y$11$0IuldIn2DkJWhOowykXnIu6A0BO1PnsFbS1ytyoD9IH683Yx9bXsG
Output for 5.6.8
$2y$11$yTJc6pDqRrj0CD9qihVBBuRxGHlgNrRu5I9ZNGgQBQMKT04cXGkwq
Output for 5.5.35
$2y$11$jzCvqhcd3edi5N68gH//guKcSiIrm02eHvoDEVN2HF0N393YROF0q
Output for 5.5.34
$2y$11$8qrHGYp1KbsN6t7vetTITON5eOozZH09RCRmnsnwl6yxG0RJ99HTK
Output for 5.5.33
$2y$11$gsh2c6TkBsnLmS9lceItPuGrKYbbt/OG9v1bw9rgHJNcyyHXTOI9a
Output for 5.5.32
$2y$11$W2VjB2h9C/sPIil6QYFBIuj0pXcpH5kRASlfPgP5ITx75Q42YGUuK
Output for 5.5.31
$2y$11$wTLIBrxXR6bDU4qIMZTiW.yPk02BweIzbN9e4NlY9zGSE9gWWwxKe
Output for 5.5.30
$2y$11$np30Bfr82LFt0fEJqljp7O7Ke0QZOAorknF.iS2idCC/BZBPywTqW
Output for 5.5.29
$2y$11$w3mbB3djwzAFiZoKkai5POgRbSYsW6ue5qLznf66BFQhRUB8YKyze
Output for 5.5.28
$2y$11$LyQbqzlIH31wgWRJxVYDCu8WVhTC171N.Bfv9DW.2AggliKoYnSzi
Output for 5.5.27
$2y$11$wGK.H4pHmGF81irTtsGAOu3i9yZl5Dm3fJ23A89uk5C.Nufupnbza
Output for 5.5.26
$2y$11$/NYcAtTndeMGE8otBkTEV.6XhEserVAIsP94wRKofQGDN14.gPATi
Output for 5.5.25
$2y$11$0N7hWUj1ceY2YW2eaHWz/O1ePleHLFsUGgUf/Ylci.SdVnNF8qiXO
Output for 5.5.24
$2y$11$yC4BESvev0O6ONOzNmrJHO.J5u3cOSVYZ0ZuoXcTJ5BjSEzp1CiVC
Output for 5.4.10 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Fi9qq on line 5
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/Fi9qq on line 5
Process exited with code 255.