3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash("123456", PASSWORD_DEFAULT)); var_dump(password_verify("welkom02", '$2y$10$zrA4WvznMUaXZNWdNFDItOMkxAoIrznjrO004ylzOeZyGApV/9al6'));
based on VBqDP
Output for 7.2.0
string(60) "$2y$10$uOBXraYLVoCjD1bBxNsnOOHdRujvKnftPHqRiqqum7IKP3OZfPlUO" bool(true)
Output for 7.1.10
string(60) "$2y$10$E2ANiwnBb.Bf581JuY6vjOiDoAXAxLpRsll/nXwSJ7jP00mK8GxXm" bool(true)
Output for 7.1.7
string(60) "$2y$10$M9zmF2X5yZa2wolI9hgOTemHn9KHG.4.VKOWHFB26u9BYlRltaRZu" bool(true)
Output for 7.1.6
string(60) "$2y$10$5tR1r0eakQlqUrYdQVo7a.ayDND1GZ2X6YiPQhh.KV5cDQo05F/hG" bool(true)
Output for 7.1.5
string(60) "$2y$10$AwYWLEmZ3GPNjPakc801sug7MGVZZ5pn1Ui/S/v0D5xH2gISYR6DS" bool(true)
Output for 7.1.0
string(60) "$2y$10$tav.Y81He0HzPJrvgOfA7uyH4SQy.Bs1XBtfkqP893.auyiEaPBXi" bool(true)
Output for 7.0.20
string(60) "$2y$10$/Tc0nrk9jjLyTbt2eMPg/exB39/PShVXBkNBt8xHifZr8ooxHiogG" bool(true)
Output for 7.0.6
string(60) "$2y$10$J9t9UP2tNUS08zX0t2Mx1uYy.urshAObMY59G8/5dzMY09JLwo4H." bool(true)
Output for 7.0.5
string(60) "$2y$10$GqYQ3Gc8BoepgY0mgFjriuOUZmvbqzenm.5yopLhz7Nab9fY4OOMK" bool(true)
Output for 7.0.4
string(60) "$2y$10$BBqPKRlTgLNsLffwvXlb8ewwtYvaqMPX0JOMOYm6e9yNKSmxlWyfq" bool(true)
Output for 7.0.3
string(60) "$2y$10$i1CQMSSqx2ldGXcg4qZGAuMBlUF3KmkVxHqpYoig4MKqoSDMGZzAe" bool(true)
Output for 7.0.2
string(60) "$2y$10$qam5tpPx4WvtxYnHMbsZg.qaq2albH3/p24WWmQu0SHdgILuB7iLi" bool(true)
Output for 7.0.1
string(60) "$2y$10$eUKC3F6Wam8TKrsfZCDcN.tkpHarFnXKcxUCrI.Jm1/lOcrfTOyRC" bool(true)
Output for 7.0.0
string(60) "$2y$10$44nDyrUUtgmi1kTgluny3ORLuRIJwfYm1A2pGPIxmtSj538tYj1Q2" bool(true)
Output for 5.6.28
string(60) "$2y$10$fOUwE0Z43i/3PSsL2ulwBOEJDCtVk1uk3nJWAcg7eqf3e0vkM26G2" bool(true)
Output for 5.6.21
string(60) "$2y$10$ASn7e9m2pJpU8bkPhDkbYuRm/dNHRGqPg9rFmfT2A9EFpZ7E/DwNG" bool(true)
Output for 5.6.20
string(60) "$2y$10$8JSueNeZjHbau0gFqLvLY.l80FwAg4eBMwa/o7QljdiRraUnB8Ihu" bool(true)
Output for 5.6.19
string(60) "$2y$10$rT63wkwGQVlQIEZMp2zSwu6FiCZuwX9qARZuAVe0Dki0iEOh1YP3i" bool(true)
Output for 5.6.18
string(60) "$2y$10$iENi4fNEx0ak1d6ByxiUueqk264fdHGqODcKxvH3APn1sR3aG7eQO" bool(true)
Output for 5.6.17
string(60) "$2y$10$yULRq2YntY12ygob9GOOTOSYBYa03yGXZqa0xR6FosQ3xCbH1nL7C" bool(true)
Output for 5.6.16
string(60) "$2y$10$nSeR1avhH7WbsoJUyfxUzOg73FjGCX3KbF9s/Ks4GFhTETvXRi3GW" bool(true)
Output for 5.6.15
string(60) "$2y$10$/z1P4O5d5By5xoEbegXew.VqVAji3szwqZ/fNibwqJjDfozw2Iniq" bool(true)
Output for 5.6.14
string(60) "$2y$10$YrVbeZbn.zWOx8Tk.ONfUuN78Czz2SFdaEFgzsaMol7PpLjQamrbW" bool(true)
Output for 5.6.13
string(60) "$2y$10$eFS4WfMepiMJ8LyVtPUlu.KrZqmT/3WayGoDeOKwUX2O9UWzpOarS" bool(true)
Output for 5.6.12
string(60) "$2y$10$7UkUKuAHX2DlXoafBz0UguJfe1SF8rD6nNQHaIpwU6lTGa5HTC.k." bool(true)
Output for 5.6.11
string(60) "$2y$10$pr1Gs07F4DKkyuLN1Hemku4t9ALxRrhsPiguTe3Ly6fbIAquGFKU." bool(true)
Output for 5.6.10
string(60) "$2y$10$OvXHicPOD.Z1E1gkI.9Cv.ksFUrTuiLYX/bXe0P/t5RgV2vNX2TXa" bool(true)
Output for 5.6.9
string(60) "$2y$10$COcSBr5n3ksiGAQVX6BhK.RHtDfDKjG.UffytWlsz7KLxI.dH50E." bool(true)
Output for 5.6.8
string(60) "$2y$10$vyYOpqnGybS.Ti7HsGJU6eTUuPVmz.G//9yhakTKJSCi1ySvlXeY." bool(true)
Output for 5.6.7
string(60) "$2y$10$UjbDoU/eLCx/kWuDmsBkqOIynYAa/XLBcOntrDAPBdUKABD6f.VXu" bool(true)
Output for 5.5.35
string(60) "$2y$10$aMJoy/biK9CFP4NQiG.JoOxlwODR1TBbxdnq/stawY0BGXWMwA.m." bool(true)
Output for 5.5.34
string(60) "$2y$10$kANfef4zbl5OPUBfDP/aTOj4i3pXjZMCjBbCxVqN4NhhDM6Hg/bO2" bool(true)
Output for 5.5.33
string(60) "$2y$10$TQAJae.aB4c/qoYedG5Uz.rla0rjlARcsv5T/y6IIW8HSsu/0nHEa" bool(true)
Output for 5.5.32
string(60) "$2y$10$D7MMQdXO2OGXl3USgcyESOuIZ7HJJhcnGFDET0UKZ//eJtkUv94ea" bool(true)
Output for 5.5.31
string(60) "$2y$10$u7tYCDaf7hFDqzcM6ZJqTuxS.Hrqwrp.qJ9GNhdM0I.1hf/nam6/i" bool(true)
Output for 5.5.30
string(60) "$2y$10$8yEXmhHmTKbR3Oloc1EOM.FP/gZRenNfGlNLwu4IHP3/U6Cwf6n6q" bool(true)
Output for 5.5.29
string(60) "$2y$10$/Rok5V9t7ttVn4DR8hY/I.WfnRFw0vl0/fFdBo2hVhuBVX4qlHYK6" bool(true)
Output for 5.5.28
string(60) "$2y$10$oxLMNmT/BExOuzUEjtj37OweOH3dvYcS9AvITNiQSr2aDHXkLndbu" bool(true)
Output for 5.5.27
string(60) "$2y$10$5ktYfqPNzKBwI0Z9QhD8M.CwOeCfw6SsKxRc2ntnjVwuQc.Txsa36" bool(true)
Output for 5.5.26
string(60) "$2y$10$pM6q3JvFSfGt80fcdUzvsO4KmDPEWiplA5w.E9Agp3qv7NhUyFhYy" bool(true)
Output for 5.5.25
string(60) "$2y$10$YrV0MD7FTeP5bA9cCzsqSupM/9uYpDYnjQMIaxvTMnuvpauYO3F4O" bool(true)
Output for 5.5.24
string(60) "$2y$10$mUBuOcO9GVKiKmpqJ43dNeJkIfrbNRyM9s.TLG1BF/cQDsXo09wWO" bool(true)
Output for 5.3.18 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/JJRuL on line 2
Process exited with code 255.