3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash('foo', PASSWORD_BCRYPT));
Output for 7.1.0
string(60) "$2y$10$1ApMpVuqcq.d3rA.18DeVOa4UZV1vZMWRK2rQruhB2jxiUxC1HnKW"
Output for 7.0.14
string(60) "$2y$10$FU5QM2q7T4mq5MdLiQViIe.IyQfdkc/uD7.LQFE1OUw/fjKkK6mZ6"
Output for 7.0.11
string(60) "$2y$10$UyozsVlYFpIaOLCZg0ifmuxue1YosyyN8nx65yqPtSoIRZKaX.l0K"
Output for 7.0.10
string(60) "$2y$10$US4etX.IW/M1paBxSHGrYOGhCX/jLmZ59RiZmk9MoRuwQcz7eT5QS"
Output for 7.0.9
string(60) "$2y$10$YZ0gujsNs3sD31dIcZdc1eRlo7XO1g1fyv4oOTkEX.3mpDs3kNID."
Output for 7.0.8
string(60) "$2y$10$nXXu9DejkgaU5HEKyidVG.rqCEuJ7q.QcxjGFdmFqNyiG2l8KgYle"
Output for 7.0.7
string(60) "$2y$10$4BxEauwol0V5XesDeWQyduWWc49dsFp89qQ.Tn3/VH91CZY3LkAGq"
Output for 7.0.6
string(60) "$2y$10$ptpsrALFbje9mN7PU8pU0u71kyKTuK.izKSCV9AjTBQ60Rr82qX7C"
Output for 7.0.5
string(60) "$2y$10$BE03dM43UkRmskG.NOi7GuQHirzN2y6LuzO92gKXMC4SUpezoNP7y"
Output for 7.0.4
string(60) "$2y$10$atWk5yJw86wurJeNVNu1ZO4VOzeS0gm90b3laV6pWJkd8Mo2RUEpW"
Output for 7.0.3
string(60) "$2y$10$1YQc65QjVWm3J.BnTuiF7.gve8zGdvMbEG0UM4hSmIineYn1rjRvO"
Output for 7.0.2
string(60) "$2y$10$MD66qx5hwJyFe0MTCJeE.uv1Ibw.CPCFDBXXVdFE7x/aXCRGsqMMm"
Output for 7.0.1
string(60) "$2y$10$axb4LgTNStpOQakRUqkMROaZHZSy8OjqmG3/30KWRaijjcSI8sDcm"
Output for 7.0.0
string(60) "$2y$10$j7CxkwgvLczxEE.zrs58KuSaO47K7FCtyql1J/Ur8sG7tdzguxh56"
Output for hhvm-3.13.2
string(60) "$2y$10$3zNA27tFLyv5pYv5jXEaAu6LMexVwrXiSAQGW9WqDHLpBB/clmBGK"
Output for hhvm-3.12.0
string(60) "$2y$10$Ot.9B8mXnMD19uG7V1Gu3uJOV1INVGEot5mi7fdj4ZHhAb/Cfs54C"
Output for hhvm-3.10.0
string(60) "$2y$10$j3ERmZXMaOBWt7h.UyJtRuHX5hSlM7GMrbGHTRnpywp8NGl0hfm4y"
Output for 5.6.28
string(60) "$2y$10$VIxWe39ZLnbCZWnFsdLI8.dyan6gp/d0k2xrPYlm8wPRXpQQhrjSK"
Output for 5.6.26
string(60) "$2y$10$kuAkE357nOFcVEoBhToyC.2iwrlwqYMtxaK4EWIbxSHACxeXO9Jpm"
Output for 5.6.25
string(60) "$2y$10$axD.bq/C3MIsQwq75MoAm.ggolz0uM1kt5KEb7bYwQSnCBwbx/mmm"
Output for 5.6.24
string(60) "$2y$10$XBR.CbCfCg9bvosz.DBPwek/xOoP/9TRsKWQ1gS7REFG1on87ABau"
Output for 5.6.23
string(60) "$2y$10$N5UFPxFQuVJRRpNUjUxvfOvdQZ/5avV4tS59OoFeY1Mgh6dPuQVp6"
Output for 5.6.22
string(60) "$2y$10$7lD4OL2yD96FEHcQ.jOP2OZh3XCtBK/UETgmKIV53UQjnFZImia9q"
Output for 5.6.21
string(60) "$2y$10$NRZes6QvIGQVdI6HgeYJ4u1.kVxin0SmUFJF9HKbKBiQ7i3NE27WO"
Output for 5.6.20
string(60) "$2y$10$njn2NJtkQbLZhodiZDsa2e3SCkNacdxXwhjCsP4NkODqar4TcxV/y"
Output for 5.6.19
string(60) "$2y$10$AhDU91SdsI6TJ9x0Oak/R.c6jCSj3BxZb4Rh0SQLhxq/4/ZvTwDTq"
Output for 5.6.18
string(60) "$2y$10$bHg74xEiroG0GkxME0MXFeZLCwhzD0Y9GYy5FRe0pZgAhCVpOmNCO"
Output for 5.6.17
string(60) "$2y$10$cLqq1Ktg78gL/y3PnZd9VesNE7k0eFqe1A81HZWiHTkZYXYKyFQZG"
Output for 5.6.16
string(60) "$2y$10$U6PqxxVeiQW134vVZY1nYuXJOcCghF9QlRbW7tTToBwjSLU8ZCcSS"
Output for 5.6.15
string(60) "$2y$10$aqhZC3xrPmo2xdgYWwtjGuPd5GbmPGh6XWB2A1GNcKstV0FWjV20C"
Output for 5.6.14
string(60) "$2y$10$mf22fQx2eRYhHlckiTTAcepAB/HVxjeqgnIPpvnmFBNNaNAvPg0W2"
Output for 5.6.13
string(60) "$2y$10$cMy926OrmlJTxWgIQwQ5r.ENyZRw5L6uJxeDEmBDm/L/GT1/Rt9Iy"
Output for 5.6.12
string(60) "$2y$10$tyYudXAL6gRR3ntgI3KrqOwJOUYaHyfEl301hpHm03UU9YlyA04Gu"
Output for 5.6.11
string(60) "$2y$10$Nzx4VbXOwPz8ms/eN0SG4uLf3olqDZwjYvRvDCcxdgfYUmoQMM8xa"
Output for 5.6.10
string(60) "$2y$10$g7B7u9Ag5hOC7G5ORK6JIuaY4Yv6Ba5Mvu4WQ1vXXGADZjel3l/1y"
Output for 5.6.9
string(60) "$2y$10$c09f4X0mckKG9bhCU4AOVO19RDS7pn.6exBoFKaGetowLSszb3NI6"
Output for 5.6.8
string(60) "$2y$10$YKaKvGm0nHhvaynFl0CruO3iz/2iJid45kPPcyzSkSF26x/LvUilC"
Output for 5.6.7
string(60) "$2y$10$Z0cAbRZWzrT2.RRMhxh/BeBVXJGvoIS3izcmdI/7G7Dx26iW..ibS"
Output for 5.6.6
string(60) "$2y$10$JD1JOh9GCHtN4uBMMPSYpuqCigBO9yuCBws.QRpFIEFNekst9ZX2K"
Output for 5.6.5
string(60) "$2y$10$7fKTGRuQsgSUg9Vo2rkjde70CC.qLUXcrqVaMPnqfKn.WbLnkKq.e"
Output for 5.6.4
string(60) "$2y$10$BuaRLzt/YMJ0dXBWvTEcRuBT6l7uMgIEw2KclzBWbVprDgUTHk6cq"
Output for 5.6.3
string(60) "$2y$10$AZi439RwKpGCJ0W1/Rdiz.0uICKgjAyGoWuc1QBFs/ITC0jcTtO7m"
Output for 5.6.2
string(60) "$2y$10$Pl6F7oApipM5PJE5NixxmezscOBBPGO7kjlP4rPYs/dTzvos4JwQS"
Output for 5.6.1
string(60) "$2y$10$mHm3fHJ3PATH5yDvKRaDq.dl52InBWUjUiA095EsO4tZBDXDK9nha"
Output for 5.6.0
string(60) "$2y$10$F2GfrUC2PbrAHmIrof1uXOCQ8jAk3VtQEnll4QNRRdGRqI65H6GSK"
Output for 5.5.38
string(60) "$2y$10$HHgF7l89Ct81m2y0AUfnhuxWqydVxKYHg3NrKgJwe.tUtbxMkrkpO"
Output for 5.5.37
string(60) "$2y$10$ZeEaElHarceWadh2udmDsO4i58.6VnJegYIdEkcNvA8j4Rn/WC0S2"
Output for 5.5.36
string(60) "$2y$10$fBW4YxiyH.A5lroGuJZlq.eRb9IgE.w631rPfL3B7p85eScPSYd4W"
Output for 5.5.35
string(60) "$2y$10$Z22Nh8nmQDLjxtF0jcKrHuE9k/2jf3XftKFzSwysr.7fdy.rhtjxG"
Output for 5.5.34
string(60) "$2y$10$HpNjRWvEUEgnv51Coi04SulPmcy.fXz5AKugOMZLA3QwW3J0UJCe2"
Output for 5.5.33
string(60) "$2y$10$IG5ZLa9ePOtUpAfLQuE9cOZaKewE/b7WrmICMhX7hd9TX3DGjcdD6"
Output for 5.5.32
string(60) "$2y$10$8nhq0johiX7W8k9N3aRz9O309gwIRuMPnVJW.x2KQls.IvD7HieY6"
Output for 5.5.31
string(60) "$2y$10$lqb9SUB1lnY4NNn.QuuQhOfJHiyJ.diuDASMUqr8eJZqXYJNt90hu"
Output for 5.5.30
string(60) "$2y$10$9Fef0rAtP64JnU3ffkdPJe1jBhc0EW63cMTENQUd1v7484wR6AgG2"
Output for 5.5.29
string(60) "$2y$10$XNd2KcaLw6ebWDee.CZEleiU1ssI9KSiZhVVYdASdI1I8lFUmV28W"
Output for 5.5.28
string(60) "$2y$10$0M0y5lAxR/055fDe5AFHCuSFLMbrIZaoQstcPTwhrH9XPQm0r17pq"
Output for 5.5.27
string(60) "$2y$10$7JVPEbgdjvTLCD26UM/.5uJOMNvu6zPYH51Eh1XxeIHiNVzd/2IP."
Output for 5.5.26
string(60) "$2y$10$I.hRr2UzWXSWP6qYDP4BdejvdbvYLiFLQMuLlaCx3MSN9HuxVrxAm"
Output for 5.5.25
string(60) "$2y$10$Jh3/njGL2Hrm8iuD9sohh.Rtb1uNi8sAfggh/x0nrf0XYnpdEAmKW"
Output for 5.5.24
string(60) "$2y$10$2C4YBxFHQpnNEAsq4c7DDeHKhMpGPXUXkOPZ0OUbiGHyCOm2UEggy"
Output for 5.5.23
string(60) "$2y$10$oQjYTwhnDXuHBv8XMPZyUeflirSkAbj6U5o.LvuuBcoYoSWfjGOlG"
Output for 5.5.22
string(60) "$2y$10$jyR.G5Qz9bndYoGmZVdwmuN1H.Z92pwEdopCfKHJ2TuOePumE1sam"
Output for 5.5.21
string(60) "$2y$10$//NW9movkdEDlo5ZMR4bw.WWNl6EeRUmqFe7bnHoRcwEdRxpKVoru"
Output for 5.5.20
string(60) "$2y$10$YHsVY/2X3F3r.GvKnIUUT.YqLQ3Mt7QcyPVPp2QVpAyyfQj9iwSKi"
Output for 5.5.19
string(60) "$2y$10$bM37KQOkheNTf3ukfry9wuiY5cceNmTzbSADbMU0gQ4U2Q62N.diW"
Output for 5.5.18
string(60) "$2y$10$JYEcw7Kn/b7fE7vSJ0i/luoVkpkceujssb1a4n3JrLrnTgJxOtZ7."
Output for 5.5.16
string(60) "$2y$10$czcJyowiOkFEL6OJRCeeXu9Hrsh7/ijoujEnH6RZ7qg8h76CwBb6G"
Output for 5.5.15
string(60) "$2y$10$I0GI.RoOE9bh77g4kOUb7uXjgnD6MeMjfed9VppN9NeRy8TAsrE12"
Output for 5.5.14
string(60) "$2y$10$A3.8Cpnx9OJx9qKGNI38cu5WcomRUCYDrUgXCbK0X6DjJvCGCBKZi"
Output for 5.5.13
string(60) "$2y$10$D5emmqQLgVJHQyQjSaQqvOHeEjADFJYLR4.pVgE4dUCW5Unat4uIm"
Output for 5.5.12
string(60) "$2y$10$Vgt.ZI7yIBzHOC/CoIj1Ye/uLJxt8oRx6NJquG95JDG4hEukAEM.q"
Output for 5.5.11
string(60) "$2y$10$mBMX2D3EX3ssVsadIdC11uw56jSqL/JWwnC.zuTIFwHKfrVbVLu8i"
Output for 5.5.10
string(60) "$2y$10$SDb6DMeY9p1Ufjbopag1jus1SUCz0rJPZqdowmMlEht6FLFEg./UC"
Output for 5.5.9
string(60) "$2y$10$dSCzJl4GGs4jAu7XPqfmJe8Khav9bElNxwPHjMx3F9PLZHgwEcKXG"
Output for 5.5.8
string(60) "$2y$10$CHDX79VO1fnG/LCOLU7GH.KAfaKDr6VZP7FU.E78Z2tOFmqJELvcK"
Output for 5.5.7
string(60) "$2y$10$ezaueiOdjXwYQciPZWyhh.1TAkLuw9lSB1Eei5.3w02EpAK4Dhu9u"
Output for 5.5.6
string(60) "$2y$10$RYa0Qn3LA4Javg/NEygf3OKHJCLW0PjEo7Wyg3FChqDpQaM82uBgW"
Output for 5.5.5
string(60) "$2y$10$SeTKBus6WekRX.kAr6K.QOQzp8PIEpG2ZzNmhdf7UswmmFlxXn5IO"
Output for 5.5.4
string(60) "$2y$10$rSG14oWgF.2hzPHUkckGhuq3o420ugX42x7CLFRz86dHn7nrp1ouW"
Output for 5.5.3
string(60) "$2y$10$x1SJBMJHdQHx7kYggUldVOjnSl.uJD0Kmc2UGHy1Jwj1/TP3ik4D."
Output for 5.5.2
string(60) "$2y$10$5k9zB1CsqqI4QgELUxjGXeNMafZfaxU7p49eCbO2utQEj37fvxOGC"
Output for 5.5.1
string(60) "$2y$10$NwgfRsAMob1UHwvi3RzBDe9rUHS59KhP/YHtQu.0bq.NBqiZvRuWK"
Output for 5.5.0
string(60) "$2y$10$Mv9dIBS9qYVMPF9kxrWfW.OtJMxDVMPjyvLLT7/iGjtjugzS3E3Rm"
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/42I1T on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/42I1T on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/42I1T on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/42I1T on line 2