3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT); //Note nosalt. var_dump($hash); $verified = password_verify($password, $hash); var_dump($verified);
Output for 7.1.0
string(60) "$2y$10$jPOyDayo.MWIGs1wU1h5IueujgTffmcbNbqeoa6u8tjwQIbiFmqPu" bool(true)
Output for 7.0.14
string(60) "$2y$10$bvCo0ojYwmxKKXoGaKi5T.zCiHLpApYm0Gmo9Tylz/LCeVmHrq/Ke" bool(true)
Output for 7.0.10
string(60) "$2y$10$T1h3zaqmHSv7vnOtEvm.8OIm3.OK.6EQqFDInp9WJ4LmImh6wmi4a" bool(true)
Output for 7.0.9
string(60) "$2y$10$QR7yuh38ewjxat.hXGnyjuFeYwUsHma6B7o.Ln2efa3fRrQEjBcCC" bool(true)
Output for 7.0.8
string(60) "$2y$10$wioRepomdVBdlZ97iW5rEuApAFl1q4MQGuJCTNdJTaSJoY7qoZUtO" bool(true)
Output for 7.0.7
string(60) "$2y$10$zQqjHrk5aWBaKm3Z36nJXOcLM2amMcKKZSnhn/sZIr1X9TInzlQrG" bool(true)
Output for 7.0.6
string(60) "$2y$10$bqTJAAjLdWMb5XoKO3HsAeuT0i5TNLseHwHIgA7SOn5gnqeWp/Nx6" bool(true)
Output for 7.0.5
string(60) "$2y$10$Or.kKDmkTKPCJ/85OYGWjukGHe7Yy0AGTRXIXBPC6aBCmirBWNI0." bool(true)
Output for 7.0.4
string(60) "$2y$10$gRYe4TDNIgI8hxIcIXtsj.z919WwYk0MWI7w5QZeo7RxGR5L.llHe" bool(true)
Output for 7.0.3
string(60) "$2y$10$hHQ9j9fWXbVx9wdAV0P8J.Lbb9n6aJXBCEvxtwNQPk/ve5khB4y/6" bool(true)
Output for 7.0.2
string(60) "$2y$10$kZt9.03s6rIA83A60izWcuyy.TqvtGZ5NTmMvpqjtLSSIkIOrK.FK" bool(true)
Output for 7.0.1
string(60) "$2y$10$.vgWyY/cwQhVKGCPDcOUH.OFvYbAn32oG0qbx6noDIWGbPpW7tfS6" bool(true)
Output for 7.0.0
string(60) "$2y$10$.3vsdKkN66eh4q6B3lwQau/55zRSL7A8SeAOn4x.mwFQGz0KX.o7O" bool(true)
Output for 5.6.28
string(60) "$2y$10$VW7pvXvObAJrATG7SZWoT.SwwXUCgUZgB6uIQsUD8vAc6/SXKLyFi" bool(true)
Output for 5.6.25
string(60) "$2y$10$KalWwJALmgnUNC95CmxRFe1xBPX6fwJTWFjiCN2xL2V62G2VDUHRW" bool(true)
Output for 5.6.24
string(60) "$2y$10$WvfP263.AdcjbvdWUciM1eNEFRdd.ACD.mWnEDLGdXFDDMnMDDgyy" bool(true)
Output for 5.6.23
string(60) "$2y$10$0tPbAFybJ5IfjXIftsWbwumkOonbXLbxPKI8Y9tUHdWXplQFKJRpG" bool(true)
Output for 5.6.22
string(60) "$2y$10$.wXI6N2LbJ8bH8Lsot4pR.uklZUvP/p0vB0qKyb5gLoD.YX4q12c6" bool(true)
Output for 5.6.21
string(60) "$2y$10$C1fWXD/GHKij3ijbS888hOsDTf2pFbJFyvfrBmGcVPEBpUgiEcfya" bool(true)
Output for 5.6.20
string(60) "$2y$10$bEAT9T8jk8OpT3xRilZan.zfEAIh7EfC.NLG7cD.01Lw27Dy4qFnq" bool(true)
Output for 5.6.19
string(60) "$2y$10$L62nTVDU1HEtnK2uVQRNMOiXdhJizRIoQiY.5ESVGuUGrQGxBxemO" bool(true)
Output for 5.6.18
string(60) "$2y$10$X4NK/Yu/8IshHx6CEeSXp.I9M.qqMEDqZKln5hcBuizkCZs4wSCLu" bool(true)
Output for 5.6.17
string(60) "$2y$10$UFFkHh39TuXwvlVZhwuvuOFJQWXTUU7HZK43to9QX8xX8pJeQJf4W" bool(true)
Output for 5.6.16
string(60) "$2y$10$YiodDlhgpWaRJgxzl.cC0uqb4.FF3n/pl3rNrbsQpTr5ywWvw.HJO" bool(true)
Output for 5.6.15
string(60) "$2y$10$uUkKZDy34Q8bupuwnmlRIeNIEyh2Cnn5Hv35FfrmPZFOBLMfDZCNG" bool(true)
Output for 5.6.14
string(60) "$2y$10$qTdcgDzWd/v1MGvE6afb1OHEZvdn8nLDM.KdtEhZziwakqHia7cmi" bool(true)
Output for 5.6.13
string(60) "$2y$10$6wv3ihJxLiJBW8k/SXVmJ.vjo77kN9kUoQf/szjUlzjRfBU1pYvRG" bool(true)
Output for 5.6.12
string(60) "$2y$10$2M/84jw9X/rS7HneIxe/jev2DQ2CxXUwKUvrTQqf2kdJHhxxASbQi" bool(true)
Output for 5.6.11
string(60) "$2y$10$9oi/2/WSIf1eXwHD08JplOulavFcwCVuRZmkVevUxt/5cLddoT9Ke" bool(true)
Output for 5.6.10
string(60) "$2y$10$ptGxuwhcI2DXMQnV8YSG4.c7Qt9oyQ6rmz6J8bNUD4TmHVh0c54Xa" bool(true)
Output for 5.6.9
string(60) "$2y$10$ZwTZOZ3JHfQo1jV8nKmZT.7Og96xWuXa8NOKXR9Q3IRMOAcauq9sa" bool(true)
Output for 5.6.8
string(60) "$2y$10$5q5hN92Rdf/eQ38yq/xGXuKFGh9EidK6079Cp25WM.5/IuyqRZYLa" bool(true)
Output for 5.6.7
string(60) "$2y$10$NxDqbflT43ja5LFucr2YUugpi.SC.VADGGagislH4zJQFTc6xagsi" bool(true)
Output for 5.6.6
string(60) "$2y$10$PgxlH6mLYXkyzRAXBD8LmOYzUENmcPtMF0MIWoiBEHI/tmNz/EExO" bool(true)
Output for 5.6.5
string(60) "$2y$10$UVu/I6sEFh5WEJGJu4JAKuI145Dz0ZN7YfMxhym9hS6/gMBtDH81e" bool(true)
Output for 5.6.4
string(60) "$2y$10$dIvKEithVadeTZBYsK457Oe9neJwQl0bvDw9I8w8HXPVYPpYKAWja" bool(true)
Output for 5.6.3
string(60) "$2y$10$pXUbuqBQxzPWCSbqQ.8UHOyndbamlpdFcKqE7dsUVlzKCRmVvtZ2a" bool(true)
Output for 5.6.2
string(60) "$2y$10$hqJbPa9ySYeSkmgEhsrO6eiA6l1DAmRDoIosQJ4ooOnAaNB7H5kM2" bool(true)
Output for 5.6.1
string(60) "$2y$10$az9kysNU6v8Ldk6VOMS7iucUpFGjBDgPU0iSbBk0KV2Svx1A202O2" bool(true)
Output for 5.6.0
string(60) "$2y$10$HTBG5wFRH3POCZKgVsGE0OGnTW7SqXLedOqqspEZ4z3famhNkQn8i" bool(true)
Output for 5.5.38
string(60) "$2y$10$GOwf6c5ABmUUMz8ZS64FOO.gPt4ZvX4afh8A62nGBywBuUjL4m4sO" bool(true)
Output for 5.5.37
string(60) "$2y$10$Bzh7fi9NwIMncCOXsS21CemWgzZsEzgCP8i.sJBDq/EJa5aL1JSM2" bool(true)
Output for 5.5.36
string(60) "$2y$10$H1FxQ6sdBK.ei4Tb42kIIuqay4R.Yz9n9gPUCPNk4po8ctGeVgPXq" bool(true)
Output for 5.5.35
string(60) "$2y$10$cWkh/QBktkljFztyw4k4V.UTv5qV1HRhsMbDVS7pl69u4E5D3MeYu" bool(true)
Output for 5.5.34
string(60) "$2y$10$oMDzLn8OrUPp4mBjtUMLLOW77eOeX/AVZ2IkpZ1QB0eYffs8.4vpy" bool(true)
Output for 5.5.33
string(60) "$2y$10$Tu0sATXUY4WK6qmEuUCrxu5kSXyuHS6Isv00n9FZsKzP/IH1X4BJG" bool(true)
Output for 5.5.32
string(60) "$2y$10$Anf88x9gQ1ZYExIQTOB4qeR3mpeIQG5/8piWFXGqZefdUQrNxnl6G" bool(true)
Output for 5.5.31
string(60) "$2y$10$Hv4e83lz6vH8y3CUqXv85e21C2rzeZpsZiv6C5MuGNjxU0kTIcrau" bool(true)
Output for 5.5.30
string(60) "$2y$10$xseU15pxYCqTsJXMisHZ8e1k4Q5SJ8.CanNqO924S842hUIAXWMn6" bool(true)
Output for 5.5.29
string(60) "$2y$10$pAOj3jPju8h4lPgyp/iXX.TDoP/ywvbGrFFZkistWMMmYffJTb7aK" bool(true)
Output for 5.5.28
string(60) "$2y$10$6I1kR1KsTApeG1Zghgtk5.PnnJcjCSopV60abNpOsx2GqS4TFCR0O" bool(true)
Output for 5.5.27
string(60) "$2y$10$Qi9BP9Ee2BcUTRX6yNiHIebaUMNkvKSXUa0mo5W3lUy4vutNQYM2O" bool(true)
Output for 5.5.26
string(60) "$2y$10$hfNBA1/fLIB51IivBj0Sr.8125yYVQ8wQigxzCdwufQTWl/h5l1BC" bool(true)
Output for 5.5.25
string(60) "$2y$10$EzCjCK0DekENaWUnxYKYJuzRsSd6vC0i0/FjE/7lQbxolJxthpaXK" bool(true)
Output for 5.5.24
string(60) "$2y$10$ZpoblAs4XqNRfpTdQj0Go.KtB7hOYW1v0MtCWmESkG8M2jG5juMGS" bool(true)
Output for 5.5.23
string(60) "$2y$10$F91MhWeGwSeVRSz0osio8O0LYOWGEDmesJDxUsKcnBx9RZiqBXl0m" bool(true)
Output for 5.5.22
string(60) "$2y$10$s/H.F2RCA2R2QcIZbV0vpOAfvwEsI91RmrD.owtXPXSRn5gfAJhIy" bool(true)
Output for 5.5.21
string(60) "$2y$10$PAqpkDAeoVP0yHpqjb2H3O9pU673Q6bgm5CtzhEzLv8Vm.d6t1Nsu" bool(true)
Output for 5.5.20
string(60) "$2y$10$3sSrj.bhrmYoa59hQG8BDOg1HZ2fmwnCtPZFazTZTMkdIkwjRIYle" bool(true)
Output for 5.5.19
string(60) "$2y$10$h5skzEpuHgefrPIim8paPuydhn8xjg.dkTfzmyDKsqJ8C4hwQJ80i" bool(true)
Output for 5.5.18
string(60) "$2y$10$1JsBvcAbQ944vgT01t8IQOf8RKXQJIkZPyooF3HYhOVsgkG8WD9hu" bool(true)
Output for 5.5.16
string(60) "$2y$10$OoVThlf.rGi2dI/a7FLD2OtXEXPbtsNTKl.UBAB084nXElfADmZHm" bool(true)
Output for 5.5.15
string(60) "$2y$10$DQWSNB8YqGozNXv6nBn3l.VuqKHD3cnZCWOJtL2HKsHAqX4PMQgHG" bool(true)
Output for 5.5.14
string(60) "$2y$10$qgRnRF4QR234q83E6zlrlOLP5agkXA9yovAwkb5YFsStOJkPWYX.O" bool(true)
Output for 5.5.13
string(60) "$2y$10$vVAjdeBbCEoM0wzDNKKOg.8tYiKyyDCbXWwgaj65OCj38qqyBWXrS" bool(true)
Output for 5.5.12
string(60) "$2y$10$dUEZFlXTcgG14Sa/EMBlLObj6cVeX1/1PmksHj2pPep0ZaEGsx0MW" bool(true)
Output for 5.5.11
string(60) "$2y$10$jDd5xFBssoaN/Z76094srOA7JJCbT8DAiHfgZ3qr/skUzQv0UI8r6" bool(true)
Output for 5.5.10
string(60) "$2y$10$xiLlcfezBzb3PuMh14XJ7ehQqw0rxgh1CuTkS9IaMBwEmVk8fouDO" bool(true)
Output for 5.5.9
string(60) "$2y$10$IjjcGHh8EfQ3B7lIqDbskedCUqM1h3YbuIzPpWBhe/KH6Xjpyojne" bool(true)
Output for 5.5.8
string(60) "$2y$10$I.SAvyu54N5noaVjXmsHEuZRjNZZvfoIiCu.RbStcfucrVKfsHpRa" bool(true)
Output for 5.5.7
string(60) "$2y$10$WYwP5zyq1RBrWlz8IO9T3eSJdfON03NpBvUIoX0pOFKh4jjKVU/cm" bool(true)
Output for 5.5.6
string(60) "$2y$10$30uLeOtBhsz33ZXoz7toXeqcPGy0oYm0jh4ivDCaqpaCU07RzZEqG" bool(true)
Output for 5.5.5
string(60) "$2y$10$z0y7WLUp92xkEGDhwLLW2.yzqWHgIxDctrXn6etQXvabwzxvVvfn." bool(true)
Output for 5.5.4
string(60) "$2y$10$MMi6X0Fp4dK.d/GqOLxwOOtUze0xeTATVeF.xeGY6FxQY7yqfcOBq" bool(true)
Output for 5.5.3
string(60) "$2y$10$Gdjf58yka5QGEawiNP58se2FHMkQo/EMQA8mivCroM1lgUl71/k4C" bool(true)
Output for 5.5.2
string(60) "$2y$10$6UUDDD5PZliPgaQfS59YWet630jwQQha9S9Q.qmgJ0e5JqGx5Ne8G" bool(true)
Output for 5.5.1
string(60) "$2y$10$.q1MHI/7TcSAe/I6yuyrze666wuol9j/XprmKNy9zaMfueuzX2Ccq" bool(true)
Output for 5.5.0
string(60) "$2y$10$ItsbI47JMd7Kfabjy8RkMe5iZ97VAfHiYbtMyJWNU05muPXZ7R8oG" bool(true)
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/33uFM on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/33uFM on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/33uFM on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/33uFM on line 5