3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash("admin", PASSWORD_DEFAULT); var_dump($hash); var_dump(password_verify($hash, "admin"));
based on Dfirh
Output for 7.2.0
string(60) "$2y$10$wLttDnKihvjqMlsIJutVPeH3oUzqJBxbGB4EEg6R5SRiljBh31G8y" bool(false)
Output for 7.1.10
string(60) "$2y$10$HTsCBGNWlbP9JmwpJBpeBeg87wDCUoIMVjMgwGExJ1mHkJcfsiqge" bool(false)
Output for 7.1.7
string(60) "$2y$10$zsWFCV5QhIvI81n5roEFZOKaaPReAj2cLX3mUCghf3sW1.RKQz2Gi" bool(false)
Output for 7.1.6
string(60) "$2y$10$/xK8AT6/nHgeyUV8tgLNk.GyuogftH80OU7DK53EWxnlur5LKEUPG" bool(false)
Output for 7.1.5
string(60) "$2y$10$PmvrHqBrmwtNr4KeRh0esOjWa5s7v7NxjQqCFex7icgEe5uUxlsUm" bool(false)
Output for 7.1.0
string(60) "$2y$10$92pAAXQADQ43CVaYiWilwe13..58WKKar9I4T3b4zYrivC.w3lHKC" bool(false)
Output for 7.0.20
string(60) "$2y$10$JECUp189o5Yk7h9/14OAmOcy7i5lm0MIrHAvrs5WGN0w8O8aPyXaq" bool(false)
Output for 7.0.6
string(60) "$2y$10$eLIMjCljq8L2n/yFEsQXS.GWoE4gt8lC3BAi2GWIs9WHb19lhifni" bool(false)
Output for 7.0.5
string(60) "$2y$10$TpYC4dtnx42PSrg58owZqOzME38a3zNdao0DDXFihSCvYBSEFd3km" bool(false)
Output for 7.0.4
string(60) "$2y$10$ZgeHS6EKaEmVHo8dY7Qt6u964SnQzCkVnF9BYbTvcg9wevLTkrAD2" bool(false)
Output for 7.0.3
string(60) "$2y$10$8xUdYtrpOPlQ.fQhgpE6V.1scNjrHeg/X2gwGODdD0gijIvEVce46" bool(false)
Output for 7.0.2
string(60) "$2y$10$cYBuqCoodU4G3ZH74mmLkeRovMGhHzeN6nC9HRSzRmW4j/7FzslLW" bool(false)
Output for 7.0.1
string(60) "$2y$10$ZwxWbUyIAd3R61txZAPl0epaEDu3VmTTJ034j6ce.uahcTD.mlu52" bool(false)
Output for 7.0.0
string(60) "$2y$10$Eko5e0XAUpvFmuJWrsL2Seh.0lGij65gqE1tcZBGxSmEwbiEXhOnq" bool(false)
Output for 5.6.28
string(60) "$2y$10$v.q.dTINq7vV0BE95QcKv.3ucq9MZpBsaC5vh6mZpQeV.3sFIULze" bool(false)
Output for 5.6.21
string(60) "$2y$10$fVhcg.vuXdOQeTePf65NouFbIyywMi/gWiBSGNZHA8oInEsmnsek2" bool(false)
Output for 5.6.20
string(60) "$2y$10$Op9FmlK5U0wF/eviWvFI4eRVcJFFjR8MkCUEf5tYY2oeOga0eMPMW" bool(false)
Output for 5.6.19
string(60) "$2y$10$rE2Li8MCUbVw32aAoSye6uXe9kf0zYxferp8zIZGTJ2KqIcqG0iRe" bool(false)
Output for 5.6.18
string(60) "$2y$10$sjS/CFMIYVaCi85XadBa1.Fj05J35PeDkvhTBxVgpGRanBZwvAaW6" bool(false)
Output for 5.6.17
string(60) "$2y$10$5LSGSxs6pj9ibIvTZYt.fudPizv3LyOmR8R2Oe/TTgEdExF/W1Z46" bool(false)
Output for 5.6.16
string(60) "$2y$10$wdNQXchxGNTh706Lcd9xDeIeZBJoyjUrbPJfBmsjLIPLv2HLhEhni" bool(false)
Output for 5.6.15
string(60) "$2y$10$efAC1PHAbYFEEvMqEwWYVOXxl5EsthQ2lIY55hY7/NqjDpl7p8Hd." bool(false)
Output for 5.6.14
string(60) "$2y$10$DSSnc2oLmn1BTuhnDPW8P.Xkzg48Si/P9lnidDPBRAGTt0QSMw4wu" bool(false)
Output for 5.6.13
string(60) "$2y$10$e/ODlisUIQgHMdcpDFQ2c.hrxkvqeQ3sJ.eGpuoOTHeoCBFaKVdva" bool(false)
Output for 5.6.12
string(60) "$2y$10$gTfFLVtPdGW3Um8tHOXwXOUCnS.XQWFaBwYhaJdwvHU0RE81cjXUW" bool(false)
Output for 5.6.11
string(60) "$2y$10$odO4qjDwF4pqfZGRL60dEuhM2p1nHVzObuK8bkLprcSewpCgURK.u" bool(false)
Output for 5.6.10
string(60) "$2y$10$/j0XBtn6NYswjbjGsQaDNO/U319XELo4FIps5ibL6/NlsTl66D3U." bool(false)
Output for 5.6.9
string(60) "$2y$10$s/S.M1.z074Kd/D6zauXYutfnQl3kjlAMaT5ci2X7K4Qd/ew0z3g2" bool(false)
Output for 5.6.8
string(60) "$2y$10$p3jE7f9QjdnxYweO3Pk20OHOS4QtQcpUr1HQFhv5frj7Bw8eqKlby" bool(false)
Output for 5.5.35
string(60) "$2y$10$FnS4LsOWTdJcAM8kOTWN2O6pr44Ofx/Ih76lysxhst4a6KFzYgkDK" bool(false)
Output for 5.5.34
string(60) "$2y$10$m0WiHeuTN6ZMvn.o2jtOPestU5lTB1yB0ZeVXsnznXm7CJkTt36Ja" bool(false)
Output for 5.5.33
string(60) "$2y$10$QX4ZA12TRgbRgfB/ucfbNusXwXi9cqehM.n176cQexqgGOyT/Kagy" bool(false)
Output for 5.5.32
string(60) "$2y$10$5skAqt4rJRMxFujwL73H8O1JPo5PHTSfeGK12d/e5mimM1Qx8OxLy" bool(false)
Output for 5.5.31
string(60) "$2y$10$rGWvaGs3Qyt.Nas2AqTSDujt.x.bovoP1SOcElj/GMSynVVEhJTuy" bool(false)
Output for 5.5.30
string(60) "$2y$10$FT6e8O0eCdbjm4jdPs3p5eoFKFpdxpU3cwTK7tXGqvUkDl8CjSnUa" bool(false)
Output for 5.5.29
string(60) "$2y$10$Eka6oxd5oYXkmq3t0oGxO./HDz7POwFYihzq6of8MTpWKYLnHxUci" bool(false)
Output for 5.5.28
string(60) "$2y$10$EKF9CZSMDKQ6rKffCfZXQuEiurmJAi4ty1BFj9Fry9hqGKq/.aSwm" bool(false)
Output for 5.5.27
string(60) "$2y$10$TIC8DOg7rdrWu3GyWAh.QOY/7.jXu328SFJaObXIir6KKWsag7RKa" bool(false)
Output for 5.5.26
string(60) "$2y$10$yq3tJJpuox.k7nlqNhOgyeucBwcW1PvaiGXLKB1rvK5re1Q4gglLe" bool(false)
Output for 5.5.25
string(60) "$2y$10$QoieVGeDkqbTkSft3kxZ0.VD94MOVQQ3RnGchrODbu9p8sdBt5UAK" bool(false)
Output for 5.5.24
string(60) "$2y$10$AE7pXgTj16M9JIsKsZ5ce.GoC76JTL1doAHm5bdt12.WncqMwcDAK" bool(false)
Output for 5.3.21 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/2JNQl on line 3
Process exited with code 255.