3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = array('cost' => 11); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
Output for 7.1.0
$2y$11$trNiHS.MBF3MBobo5a4Om.MP7tgO90ZrRWlazIPg8cGvvcgmu2md.
Output for 7.0.14
$2y$11$kUDd/EkMCv.FT0WvJgp4mORuV3wvPGzo.1Dmr7Awqm7V7ztP8n.3a
Output for 7.0.10
$2y$11$0n21ZNwF.nLpuphZPvkxy.QAgfLp83hZX/U/EvQVMluZ7Tx7l3nZC
Output for 7.0.9
$2y$11$6bSFm0zuI1P7al73U9Ay9Or7FtB2UiuS.hmTVb2J1eDTdv3YiCgtW
Output for 7.0.8
$2y$11$1BT/EvLPeLSwQY16fosmFeNnRKGy66/nSlBJeTaZypnfJQk.7bvTW
Output for 7.0.7
$2y$11$iqBAKiBzTrmryp1QJl6FJeuOmzK3M6DGt5RSWmXAIkus5z8Lx11Zq
Output for 7.0.6
$2y$11$Z2zkupD3YnfryHma4QbIOeQ0r548Cy6PrGSIQbpZ55alWAWM/J.9y
Output for 7.0.5
$2y$11$.RCK4TVV9fBLfZ9y9/SGf.hkUDw2gp2AwFws6FsisYKJQM4mXN7xi
Output for 7.0.4
$2y$11$1Hd7uP1UpNhkwF1mtAUL2.WoVc6oSp5FqBq79i9bitudGyUDBsufy
Output for 7.0.3
$2y$11$9ZaJXmDJbAejyGLg22oHo.2KOfplOJueFJgDNx.BuTnZOgedFIP76
Output for 7.0.2
$2y$11$vc6kZubzYl5JnHSwn1ky5OpLKxt3ihYFJHejn.HCeparJZRF1WMyG
Output for 7.0.1
$2y$11$kWKVRdcUEcRuMLmqYInQh.Ab.AccOk2PMf3nK64mM/w0tIWdwH8gC
Output for 7.0.0
$2y$11$0uTRAs3alm3YLZHkwiRXoeq5TUzxh6ZzLsIOv86yGIYaoEeYMhmhu
Output for 5.6.28
$2y$11$xTiheebqjpCeQJeCbjP8oOMmZy3p9fWz0jX8/l.EUMg3RX8zZKZwy
Output for 5.6.25
$2y$11$RU7sAAmFTYE6sdBYyW3V2OxDVg.W8P9kKO5/BHmzR2T5vw81.DJ4q
Output for 5.6.24
$2y$11$w9oz.rxl1jxfSSP6PnIkle014YEB0KA9Lg9.sYJUn4IXg66zHU5Na
Output for 5.6.23
$2y$11$Tzf9TyKFU/6/CFcubPxIfeXEjtoVk6TSaWEfm9yYf3p.QcRWsEbd2
Output for 5.6.22
$2y$11$.InoT.4jPJhgARNF5gFYGOf4merOgM41rufXSL4CyznWNXINs99KK
Output for 5.6.21
$2y$11$tbPAM7YJKUs5QqpNH0xTvORJRZ2Ev961s1m1yd51qF1EFEa2y8kqG
Output for 5.6.20
$2y$11$cMaL/YBTZbjzB8sd5pZDruR0skli7gTpOD75UWKknjQEgPrUAipKq
Output for 5.6.19
$2y$11$BcjwEROKXj2vmuka.XwH8e6jyzuqsE7CEwHpDnJvMbSYpPyW/gbYq
Output for 5.6.18
$2y$11$EaivteRXkCNMZc3n2m.ytuSmH3ZAwtUHYsSgHjWkBEeoQH2P5pS6.
Output for 5.6.17
$2y$11$W0/s6pssJlhfIbXlltSoZuHd428vGJdr9VdRfeuFC4Etrgs3tYKX.
Output for 5.6.16
$2y$11$kVh38IMZuCGZKnzzTUjQo.C/VicPYjjx0A32o1fI9LS6MKs/Ni.oW
Output for 5.6.15
$2y$11$P.qxo0o2Xh2tM.IUZ1K/ieueLKOPZTBu0JBc/iKYzXeO1h0gUNrgi
Output for 5.6.14
$2y$11$4CY6irzjvsoYJOcgAq4DVeLaateu8i8qGMf7BndZKSRZnyZ/IZE12
Output for 5.6.13
$2y$11$hwc6s0U6PBZumBXN7lL2J.HZ/xk9c28Kv/9KqmfkKJKJBrMUhltOy
Output for 5.6.12
$2y$11$CS1.dpGGnzfDsqcrFPl4Qu1NQY6/w9dYU60zb35.Q0ffS6OEdxm6G
Output for 5.6.11
$2y$11$d1jQdcOHuxiShqb4Cc4DleN.LlYdoVH1sndngkpoKTq5/EgtK6/QS
Output for 5.6.10
$2y$11$aBipa8B5OYdPGr/GPqW.ie1Ovn6456CEtWbuAB7OmN3T.ldJDhcC.
Output for 5.6.9
$2y$11$JTAshG84brdJi3dXncJhXe6JpmWdla9uSYI4gXXiuJSnzdi4ULnH6
Output for 5.6.8
$2y$11$la0JN5aEqBHTMoJgenq6HeKH5OQ.FFG5OG4PqZEpvXQ5hqwud/UwS
Output for 5.6.7
$2y$11$O/p4PSNY3b/fr3Jyr5J6KugDw9N3ngJmbeu50qeBvoN5TIsfAW8iW
Output for 5.6.6
$2y$11$6WpaNaBVxkP2YQU4chXxk.wUkV.v4SWaMMlMx.KG24rz5kH00WCGO
Output for 5.6.5
$2y$11$xdaqsdXDZw.e8oiMHqVtrOk1KDqSBfqiC6I/xWeVJfwbmHkkofobC
Output for 5.6.4
$2y$11$sMH5cRXTG28eHjm3.Xekc.PyKkRJpwXbDfzPQ4FtNdhRolq/I6Th.
Output for 5.6.3
$2y$11$4B/S79CZicKzTgAVl3XodeA4sh90wo9puvZfGZqzyRx6hIRLEfgdq
Output for 5.6.2
$2y$11$OVdYLpI7fXgO6Heyi2xzpO/e3FmOKgIhOxy8iOXCvt08wRkArP6pm
Output for 5.6.1
$2y$11$8qpj3VMwasSa6UFX.iogg.ZElrKHkWet17rLOfizG14L3w.Soiq9e
Output for 5.6.0
$2y$11$BRId7.yZtxMdoIgKmcyuLuQGLtlN7rVQq.9tsWuRtpAu7bQqqAQXa
Output for 5.5.38
$2y$11$1EC8DGzNbmwTGf5rV6Nl/Omiwezajz7bEca15LafQJFfUxdyoofC.
Output for 5.5.37
$2y$11$tsD3Gwp93YoDW2H6tjNnsu4r/Yw33Hmgxq4BraB8F2CecS8QzEWei
Output for 5.5.36
$2y$11$7BT5BLIs90d7ooY4XM5ujepT3VZoHliIT6K5Epi6YIAC9UdDwHR.e
Output for 5.5.35
$2y$11$U2JYE5MCnrS3e/SZevGgF.uSEZ7Qm/k680Z/Eeg/mfh1NsXF79HFe
Output for 5.5.34
$2y$11$rhlEm4cDr1kU.WPg/pL84el1V5niRq8I3dWCIOI/2oE2hz5HnukJa
Output for 5.5.33
$2y$11$PPNEZJMJF7TOwpNS9aB98eZV/PrMoyNydxB0gNoWNNcp7ZL4YblW.
Output for 5.5.32
$2y$11$6Lof8TStVgij/mEn0/Qj0u7CbydahUkDCrcVTpbxRDLQguqasyotS
Output for 5.5.31
$2y$11$i0/o4Xr5gpBmLYiLiEsnEe4ooRyOjWWdDJKjjshhqsnUBtztEx5Aa
Output for 5.5.30
$2y$11$F4RIMOMhQZZrxBgcIjrI6eJSGOpvpnA/aC6pPu.fKwKFcMfeKQF7.
Output for 5.5.29
$2y$11$w/RdezNndMa3sd0bAWFgF.ewsCy3TY1X/U3q0RsqdxQatD/J4HsSi
Output for 5.5.28
$2y$11$aDcCHQJFzetX4iZAI7KSFOECxBe1jOMhYMnoq2wq2Un0PBEr1faky
Output for 5.5.27
$2y$11$vNacIAHkUsALQQuttNLpuubeW7SQayVF3P.anAyXtnT6Fcu5CyXGK
Output for 5.5.26
$2y$11$MW1g62roEitsLIjPt4ix2eBC.EHQ33g9N44BRRl.Xh60NuRCxifgq
Output for 5.5.25
$2y$11$ecr4fox8UsFjeFh1u8KlB.v8FRkR5vv.9vd1LYuw9Qkuq0h5HC08q
Output for 5.5.24
$2y$11$98gyXJ50jNGlSZmT5qE3gux/qgs4iyPiTPj.sfzJ809KnUXybYIPG
Output for 5.5.23
$2y$11$64TIwQJq6KnDuMr.lIBovellXFbkGNlOBV9DVhdedyvapmKGQKwIK
Output for 5.5.22
$2y$11$TJZPFJ1aUBt/A5B4ebkZsesUZHoWe31OxQ5vEG55N93RuM1PtJPHu
Output for 5.5.21
$2y$11$W07q/eULrTaPfPT1ef29DeEyY1bNShL81f6odcPAk2nblqeWY0FBu
Output for 5.5.20
$2y$11$QS8N5A9cpsIlgscnPCJwzerFvOoUxiVE11/QeCsjXzEJPohiKxWse
Output for 5.5.19
$2y$11$pmGxhzN1EvXrwNiU6bSC0ua6rYBMzoc783NgEKU92bCaFVi7F1LUu
Output for 5.5.18
$2y$11$e.21znOa75ngZqi3Vxhejuw6ZD4Dij4.a4GC5csUk/Z.XUw8zAad6
Output for 5.5.16
$2y$11$Pk0Qw7uDfk1NQpFjNUPEQuJv5a3U2WWHPwOeDfnGWANeXtsnwypUu
Output for 5.5.15
$2y$11$oXbyetpKyU7dPsshqcBl1uBiGMf2wMmhShJRNhDH6R88dWwMrTSSK
Output for 5.5.14
$2y$11$Mcf/xcQxa5I/wVKzqLGV8OipChHJ44v1dCHhH2mZJ0ESU5G/MA4ji
Output for 5.5.13
$2y$11$a45mmGMsqMdI4rcjl.OFK.Znj46rCgInX7/f7Uv.jJKraGkABkcf.
Output for 5.5.12
$2y$11$kQ3FS7YWIACjGwMGwpvKuuYEvv2x07rYCXj3yf3oSCvyAJ4Tz5DUK
Output for 5.5.11
$2y$11$gF8U69k8iwQ6kXL7aaDJEeyL1fxfbtLu4EDoH2eajjWHKS0JJ1ci.
Output for 5.5.10
$2y$11$K25IdJcK3wROaN3MtOXNT.wvJmvT3QgLSvF6gmkPaWLE5AhYyqk2a
Output for 5.5.9
$2y$11$l2e99IBatNpcxmYjRI/TmeLAr4PVPcxC03M.hj1fLBwV3XYFUCbQe
Output for 5.5.8
$2y$11$LAhMcTk/gKeBBNGTlWagAe5yj4ehWL78nvg8L1aCQSCL6wbnGC/VS
Output for 5.5.7
$2y$11$Bvs2yyB0RqwuMBiHx9fQaOIH69B8.ZiY/RQhtt9yAnt9/fvZ6at9i
Output for 5.5.6
$2y$11$bpZzPjMoDQexRF.SiQeO0eiXvDa83c.wzpoXZVlCJRNZddcKKJZE2
Output for 5.5.5
$2y$11$AVFg64WJRdojQJvzPJYx1.iugRiIjbA3MVtXYiQN6aodWxANn/Wq6
Output for 5.5.4
$2y$11$bEteVVRDDdI/G5XJJnRH4.NoINHBAyBBwS0rFLbLg6JZHmxrLw0kO
Output for 5.5.3
$2y$11$xqwZWEBQA0JDmkrBX9YUYO2XWp2709UMwj/WVjBhhPkcGdd463Os6
Output for 5.5.2
$2y$11$j6X7fbr5Pn7YjBbJ3yM7gesIWWyS8Jrs5zeASVI8BBJKuudvp.F0G
Output for 5.5.1
$2y$11$HGuVojkujQfnYr944/zYjeWOglQ2Xp.gCJnscJXTs/PjYADP0MWO.
Output for 5.5.0
$2y$11$QZqY9fzoou9KM9T8w8SgUeIcqlbN2rygaXIt84Ti0kMylhrKoQX6.
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/SJTE2 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/SJTE2 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/SJTE2 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/SJTE2 on line 4