3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash("x", PASSWORD_BCRYPT));
Output for 7.1.0
string(60) "$2y$10$cs6rFlqCY/qk4omFJI/t7.BMjqvnonr1XPKiaTUEosvKJpQiU7tri"
Output for 7.0.14
string(60) "$2y$10$x1VjQAn93IZWgMF9S/s5QuUjEh6dr/v9sdD2E0tTjsbiBQzz.5Z1."
Output for 7.0.10
string(60) "$2y$10$6Maq8p0PQr9yOjSTcvRXrOLOiYHIO/zt1pwqf3DRLcT9dhRdMOWHG"
Output for 7.0.9
string(60) "$2y$10$pmpQmFRVgr5aUfEdGDc53uAJJbcMe9xj5osMGzp4xEJIc8yL/4PA6"
Output for 7.0.8
string(60) "$2y$10$o.NsN3c0KnDZqkDfm05z8ujzlAnzziV/k033deI9OLIEoL0WrNfHS"
Output for 7.0.7
string(60) "$2y$10$xQxqal9VkOrw5j.p0BwuhuvXw7/acqsUHOgWVe9C73msNi6QEmeve"
Output for 7.0.6
string(60) "$2y$10$YASuKMBwqCnMV33Vq19OkO4rv52Qy1XyS8piM6oqfYDfnY5ihymoO"
Output for 7.0.5
string(60) "$2y$10$.kxlgoIaiBIhvVDIDMigg.yc9ixBNrm3TsqlhAGOWciuB/uEGWEkK"
Output for 7.0.4
string(60) "$2y$10$bUGGn8Tg2K/l/NQLHkFBduNPMYVhBBLQBZTwPo5iafYb3WT1YGqTq"
Output for 7.0.3
string(60) "$2y$10$.307AsXY.u4rJ9aiU8gP/.c2sLlDOXQZPCHMZfwt4PcHmpJJxeUjW"
Output for 7.0.2
string(60) "$2y$10$WEYmljjY6AOinObFSqaHO.o0UVy5r/4KKNf2fSmK/UZomKBQH0oNC"
Output for 7.0.1
string(60) "$2y$10$Qo/tMdCWJ8znxbNRLroACu2XKxGLmcV5E/aeQC8z24Kje7SBAJn/6"
Output for 7.0.0
string(60) "$2y$10$PBe0KmsLU8xdwasOC46kkubl40TLsjV2fnlZi2jl9rnurs60ZHEia"
Output for 5.6.28
string(60) "$2y$10$PDOfCUYb3ZdMq/Y7qZctteQl3gdI9lx7jc9f3kNE6nyG.H7DL0OiS"
Output for 5.6.25
string(60) "$2y$10$tuYwIa6H8OWOdKckqPNxC.h70BUFV/106SYr3ze5QxERkby5OIT3m"
Output for 5.6.24
string(60) "$2y$10$KPHr7Zqza8YqaSCW/qSVwez9ENHmbzpGQysgxq8BgfRiPOZWUlGM."
Output for 5.6.23
string(60) "$2y$10$8BbYUfJCnKVaMBmURRruHe.PBruAdNIRNGSw5DSMiBkGJ2tTFtiqC"
Output for 5.6.22
string(60) "$2y$10$.OveyAf1n6ql.d1a404qhuv5ZJcn2EjER4ahXa5u7dEi.HWTj9Znm"
Output for 5.6.21
string(60) "$2y$10$NQ.wtlin1PR0pu04ADgvseweKtR3cY85sTaRGteM1QsL/gKiB2NXy"
Output for 5.6.20
string(60) "$2y$10$dP6QhVrXQSEn3p8/EnmF9Ou2WRh8GJOpYHztlXDSy0Wrq4AriUI1e"
Output for 5.6.19
string(60) "$2y$10$eXe.Dp7RbPdRY29f6jl6Q./uVeAGuRpL.mKAvZmy404FxyUsGZlZu"
Output for 5.6.18
string(60) "$2y$10$f4dn9GHqq7Y3G9jsvfBI7ufZGnxBOfUsj9iPAw5nOPEuNyhPHlBCG"
Output for 5.6.17
string(60) "$2y$10$G1WZYRqarpYl6IDAvTwXGexIsjo4H6Mdr/ZndNOm.qB1eIc1UeEa6"
Output for 5.6.16
string(60) "$2y$10$dE2yl9UJ9SifuY1dAaOHu.0/Oa39t8j/4jC/7ink05So.6kBRBteO"
Output for 5.6.15
string(60) "$2y$10$tUsuDlC0F9dem4o2Rvgq4uEoCkYrJwWBWTxwW6mr8SbRjIKp8ggsa"
Output for 5.6.14
string(60) "$2y$10$MZIulzggkBvhCqcC.UdmFuj.B059iexadrAfLKyAJ2kSbha4kgWiy"
Output for 5.6.13
string(60) "$2y$10$fZndzEm2VvgzeZBxF60VG.ApVXzi1KKm48GMq4s4h.dcVAIAVM2FW"
Output for 5.6.12
string(60) "$2y$10$9DFZHms2QkgqqpdSAqcpgO0znbDd6gGiw5koM91f2F7cOV4Bl1x3G"
Output for 5.6.11
string(60) "$2y$10$/6FYu.ugG73oiWhN29yhwOFq3/xi6T8/rK54H/vSov0F5ywRqhYwq"
Output for 5.6.10
string(60) "$2y$10$yjIVQvsaU.0P2sYNx9ThOuymKw.W8VfIRngJh8nZJkTqWrrFwKZcu"
Output for 5.6.9
string(60) "$2y$10$tNOn1pRf.P0lc9KLmjGbp.cPjkb0BerXezap1lxuzmg80FAyc7QmO"
Output for 5.6.8
string(60) "$2y$10$GeTi0JaPUNDxvEIRTOaS5e2w8s5dcFoY2ooaIK8tVj9KJ41tigPXO"
Output for 5.6.7
string(60) "$2y$10$rGVZVQMlsuDLZZ0mv/Y8zuaYBNEU15RL/MjPKg.0plc3xxi25y5Tm"
Output for 5.6.6
string(60) "$2y$10$j2Z/80THV2jxOeAgYICJFu6tRe9uCclHnKXHbMEy5xDLPDehhEQpK"
Output for 5.6.5
string(60) "$2y$10$E.ExwoO.eE1v97kXVXVguu6wA6BTiM243BrqXY80/16fbH66RuJz6"
Output for 5.6.4
string(60) "$2y$10$9X260v6ScWBj5WB73FXmMuKN1ASNjokHhqZWvDeRmBYxIEsl3jfSe"
Output for 5.6.3
string(60) "$2y$10$lbdo5TpvJPUuu98VMACtg.X7D3VN3iH8GZDYuJcMgYctzIXrNTJEm"
Output for 5.6.2
string(60) "$2y$10$UvsoV2/W0yYlV3nnKgkIYufuU5JO9Tn0yJV4MQnHMf0HXEdA/B/Ha"
Output for 5.6.1
string(60) "$2y$10$oQ9hg4g9ZGd0wNJyqzzgRuuO/pBubh6JNEG8H8PMUChTgly78QPg2"
Output for 5.6.0
string(60) "$2y$10$M2NpKwlgJD2Kb2abWNrlqu0SzIg.CW52h54uCnJkm2VVe66u2g09y"
Output for 5.5.38
string(60) "$2y$10$NMyNhavz0gf3EVnx6EF/9.eiJ392OsNaGtAKYd93aSxsagPMFFwam"
Output for 5.5.37
string(60) "$2y$10$tRjKXg3M4CQy/HhZuc7HnOvr20TqiuXGfdRAp0faZEvI4cHf/gSW."
Output for 5.5.36
string(60) "$2y$10$HTuWt1vaLX9vTB0Qn2atSOI7SCwQrcU1ByuA6nDv7.Q.2zW5vYReW"
Output for 5.5.35
string(60) "$2y$10$ybwNB2r8s/A9JyMfjgph7ea1cPyhj3vP3udQkhimli.wUjS3Nu5rK"
Output for 5.5.34
string(60) "$2y$10$ZH79SamWG596h4yph3nmVuN8y6nYD.U4X1irfhD5Ha4gJFH4ubWCe"
Output for 5.5.33
string(60) "$2y$10$cB6jl1q9EnsqF2.rWNK3semQpCNeaTLbd7Hq0lVAnsaulPVIcycy6"
Output for 5.5.32
string(60) "$2y$10$zJzCbObWn3.wYro3XhXFKua0F0m0kb7NkOdPHhf4rvSViPta/CSti"
Output for 5.5.31
string(60) "$2y$10$jPQ6U2qhMhrAAEfEz3TvR.QyeJrMn8B0FUatijniSnQFtSh.k1Xia"
Output for 5.5.30
string(60) "$2y$10$14AdlPgIBrsqRe98hKm.5OrofqY3/9S5gwkFxRHr5Oq4ccpmVm5gK"
Output for 5.5.29
string(60) "$2y$10$s6jWs5WknWhwQ6brxIY0DOJEPS5dlYJoISA3R3AnjMT/27L4h0wBm"
Output for 5.5.28
string(60) "$2y$10$oVjqkuZ7C661Flw4zFhgwuG9Jd53DUvpmEwcwFpmhxXrq0o3612VO"
Output for 5.5.27
string(60) "$2y$10$qy5rplo41gDgEpaHSFu4.OZxfiphvrblk0ck766VY9dx3zLgeX4gO"
Output for 5.5.26
string(60) "$2y$10$KtJUV.tu.OQmFgo2MsEES.r5xeYMzuxciDzYVXPR1.1mGFwviGgIG"
Output for 5.5.25
string(60) "$2y$10$5ron508Bb3B2bXkVevR4GuYqoZSwHSZeTxYDACI7uis4mX9klHrAm"
Output for 5.5.24
string(60) "$2y$10$zM1kIFz.dTbxX2viUU7HSO.TEiChOadmBETGtswO8EY4.ybXl0gLm"
Output for 5.5.23
string(60) "$2y$10$wjN8SeauP94hjphcexEYGOVB/l9GBQ1AwReuAnwhKeHQgs2T0Ff22"
Output for 5.5.22
string(60) "$2y$10$DeUgdusI2HOLJL9ftvMbxOUIstiX.5tpsWTTOJyhRnrlly8b0zyfS"
Output for 5.5.21
string(60) "$2y$10$dD3Y.4gK4cQj.6w0rvxL0uch7/I7BmgtPos/GUC7vWAeTux.Nz25m"
Output for 5.5.20
string(60) "$2y$10$8KswjjXx6Z51M7cQnSKoCucgB8WWlTJY7WBPGjYrNnSgwoMEF59qC"
Output for 5.5.19
string(60) "$2y$10$95VVZCPz76q3K4slF3o4weqMV3mlZy9waMBXF66EDdQTQNywNYQbi"
Output for 5.5.18
string(60) "$2y$10$UPyLyVFfFw3nt4mtYJUeYOZo6.n3zWiakzjKdL84AtHQezn1f0P6m"
Output for 5.5.16
string(60) "$2y$10$E.atIJxxaJZbZYbULxDsgOdZuG8HDdHC.w6CacSXIJIPsA5.PaVEO"
Output for 5.5.15
string(60) "$2y$10$JRE2BHmhc6uXUcSlC5Z4L.8PIVyvS3MU06uMDSnoFtXYTAgMxG0Yy"
Output for 5.5.14
string(60) "$2y$10$K7jtojm4pl4GFAottGijm.HgVtP928UbRvL/K7jtIOekNZWT9Frsa"
Output for 5.5.13
string(60) "$2y$10$IiA4Suw1qbMbudTyWzFpD.Ft.G6K1oD.Fu9xnmsQ1cdkPgVsdYXtW"
Output for 5.5.12
string(60) "$2y$10$Sy.eK4Kffpg/qyrk/htqsewoYazj0HlFcdPFEwG7pW1Sxrza3kyYW"
Output for 5.5.11
string(60) "$2y$10$rpnJVLCY4CPrglmcFdQXKeM.NdPA26nTdtNsQ0Gu/ShDabEcZqsoa"
Output for 5.5.10
string(60) "$2y$10$yDtd5vXIgAYdrptnmNQpque3atdq1mUElILnHfJzMzNPPFoHazTIe"
Output for 5.5.9
string(60) "$2y$10$9Q2Dq4V3i9A0aQteT2PuueP8K1GzMEOJWLNzPbYC25HejjbSDbUX."
Output for 5.5.8
string(60) "$2y$10$NxB8RkcQYkE9qGybd523Mev12p8TvgFhOtDVg8e09t7Liy9l6hOqO"
Output for 5.5.7
string(60) "$2y$10$duhAQnQHOMRWpWkYMDsOju5HkvaHSlTSNhpbRAgUS82tHeMQHPRVe"
Output for 5.5.6
string(60) "$2y$10$qhJvVvdjRrf9NIag.EPFx.upM2VD.bW4H3u.CDYOXe0yGhIJQP.Bu"
Output for 5.5.5
string(60) "$2y$10$/qaFve9/Bf7a7cXZdpVvbumEalXSaJIm6kvWj4M0hc1q4bQwWflqq"
Output for 5.5.4
string(60) "$2y$10$DElLOmVC0sdSsln3SNM4feFt3fdz9gwmYXD6gbO0TzvIL6D3B50YW"
Output for 5.5.3
string(60) "$2y$10$Z2WmemMk6WzmUG0R...9dO5aFYgGFk7cIRKb9f1SeyCoaoDerN6l."
Output for 5.5.2
string(60) "$2y$10$IPwDDA1.3js7wxlEQQRPcumficaqjoe.dG5JGw7v6M0VJEL2cPqtu"
Output for 5.5.1
string(60) "$2y$10$0aqrTxo7EKq2FyEJRidZjO0e5yvtowIStlULPyISt5irT4RKpGh9y"
Output for 5.5.0
string(60) "$2y$10$e7JH/pq8dp2Yb1u3OtzcTOexwbsblJL1ytNALU7q4XhzQgvHqxzBO"
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/1f7SR 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/1f7SR 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/1f7SR 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/1f7SR on line 2