3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo password_hash('Dtx\,+5!,4(k~Ap', PASSWORD_DEFAULT) . " "; $hash = '$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq'; if (password_verify('rasmuslerdorf', $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; } ?>
based on eLrig
Output for 7.2.0
$2y$10$MoxnIYlrfyvGiGGbmUUzJukMpXE4Dj1ohC7RZFgMfy9wacLMZrHzy Password is valid!
Output for 7.1.10
$2y$10$Df9xzDieDhv/JYYDWdWjGOyk3dYWsWR1dMo8LCcFVitShhc1Fqr9W Password is valid!
Output for 7.1.7
$2y$10$X0VL8sqNTexZ3zIxgLMx9e/fCWdNr41EbhR.4R5AZzuijKXszc0ay Password is valid!
Output for 7.1.6
$2y$10$WJ1pSSOO/z1HD8S9L7v2V.sYPX0GIRlzYzwHh3a4hlz6O8PYVcW06 Password is valid!
Output for 7.1.5
$2y$10$WyASDZN7GbwrKo3qSWVqBOGgURrH/85XB.X608UmI.miE4ihd0zNO Password is valid!
Output for 7.1.0
$2y$10$DDBW85V55uhIcZB533ebDOKxcu2ulaVXiT6CqRTJykXQCwUCgPM6. Password is valid!
Output for 7.0.20
$2y$10$p0HPScfy3AMPqs4uHWX03eLdQvYZ3THWJS9JniXNkUZwwQPzG4X7m Password is valid!
Output for 7.0.6
$2y$10$ntaGGZey83UywDAnzleSAuUljEzHljT5GBe1n2UnfAgrDcz0I83.e Password is valid!
Output for 7.0.5
$2y$10$trKMfe80DqNA0ZH0na7EIODy8If5rLWDB2F2j3qf11rYqxUnAuhu2 Password is valid!
Output for 7.0.4
$2y$10$kFNrixC7jLR0qsufQev2QODx4U22JG26lQaqJHHOD9UNWohFjSVSq Password is valid!
Output for 7.0.3
$2y$10$0o.VdQzATnFNfva/w1ZPbOhjD7Vsv59h8PmKU7veyqKjjPu8d6uxa Password is valid!
Output for 7.0.2
$2y$10$Rn40WK56t.XHm4SeJ56cg.HX220KYHzT6Ddx9l8kj4r1hFHeMeVJ. Password is valid!
Output for 7.0.1
$2y$10$pUKjgki/lQxMdVSO2OLv0.e1QbW3vNgjWC3IN0U2cn/i2dLbfdyQK Password is valid!
Output for 7.0.0
$2y$10$3qE4JSBcrPhk1Dt6qS9JH.MlvjGXhNSYnGjTQkPMNZebXne/rpdfi Password is valid!
Output for 5.6.28
$2y$10$VUzz6JFAOpzac2GqvHexgupOl/hNhGOztkr55D8yXxx/lb32v.Nx6 Password is valid!
Output for 5.6.21
$2y$10$9/P7EJ8j9EShPNxW3H0jZeMgSXC76IS7dSaebEyqV4F3xpTE3ajIS Password is valid!
Output for 5.6.20
$2y$10$LS2Ewl.bKbuN2wThbVdbneTijt.h8Xxwqz2l/jq5EGq2Sp/PI4VEi Password is valid!
Output for 5.6.19
$2y$10$j3p/Vs6JZoQ8lNxbKzuug.JroLA9byT/Iq9VyZ6sjJXdVZBRR3Nxe Password is valid!
Output for 5.6.18
$2y$10$i4k./XxBMRcAb8oqMUS5T.pbtj0bRjGAIs7wR4/gzNqqcZFNDC.rG Password is valid!
Output for 5.6.17
$2y$10$MIRtwBoAt5pwuH3JO6H1C.B0oM2NrGJKPHfHa81nm51EaleQfOV2O Password is valid!
Output for 5.6.16
$2y$10$DkHNhRnhibnPqLLzWkUu1e3COYDrHUCjhu2wmesSaxvRm.CBg5J2e Password is valid!
Output for 5.6.15
$2y$10$jzKQBDh/ieiPhYHWXgS5Sep0zPDo46U.5vabYQ9rgnd7Ea1LU2fYq Password is valid!
Output for 5.6.14
$2y$10$VjwQAAZFaQZXUDB0RJqNK.YNuaQmCCDZuhUqHQxv3VugCQ.QEVvjK Password is valid!
Output for 5.6.13
$2y$10$YFJiT09VHhHBQwyIwP6IleoGtZQTchqgx6S9RQNB1QnMm.UWQtiDC Password is valid!
Output for 5.6.12
$2y$10$PFO6s.112IWjLtOlQhc7qe.d1Sa14srAKnGk5iKUhouO11TfefWkW Password is valid!
Output for 5.6.11
$2y$10$wFx8eyJrpROyRoINyJTsMeB1FVw9xEG2/IA2eGUyL84cDqhZHVN/. Password is valid!
Output for 5.6.10
$2y$10$A7.9YeuB7jLqXHhAJRQmpemajytvMQsPI/yf98S3IErhi8N961dQa Password is valid!
Output for 5.6.9
$2y$10$JPgWNX0gFLzYsTIyw053OuPT6tI4J9rMQW0qAif.yV2KCpkdFccCS Password is valid!
Output for 5.6.8
$2y$10$muYcMgtNZNgUlnn81yQ4mOKo.BllkaRkdRPZPckOqGvSU6vj4.x6G Password is valid!
Output for 5.6.7
$2y$10$0mTTsZaETQ1gf0MLgTtUduBf6QsnWDRhZGK6hyxJFCyWLaFtlkDsW Password is valid!
Output for 5.5.35
$2y$10$EZlaZXs/xf8ZNbQgQ.LPWeWCVmO2MsjO0QQk9nPgb3e3tGz1Hmx.2 Password is valid!
Output for 5.5.34
$2y$10$ZWrw.sm8UTCz6c53LZ6tbOOsQX4va3yzVii5PXxCPb0ttdMBTNGUa Password is valid!
Output for 5.5.33
$2y$10$J69vtGRL4wsBviQCbDHasurtf5lOfkBSCDp9l2rfsqmTVnFbIwdvq Password is valid!
Output for 5.5.32
$2y$10$.vGA0m/S3fXBxcIIKsoUwuH/Pnz3rvcXRMlr4HMyFWroJBb698oTu Password is valid!
Output for 5.5.31
$2y$10$P1hOt4tIsoFe2u0iTDgswuLKWvtjcaxtTJtRQgycQZTIwbXFV/7ha Password is valid!
Output for 5.5.30
$2y$10$3tSrx6JywuV8vStmnvu/puekJOG.962u0d7ARrY1b7ATWJ2Azc6Ti Password is valid!
Output for 5.5.29
$2y$10$v3Bfh.vB2HY5ZCZTCqFzxesUrtC4T0GGcM2lvT4.G7DdVT.452PSy Password is valid!
Output for 5.5.28
$2y$10$1PHwh8myNUhrN4AjKvB4s.7e6xahXBA89T0gqyh6aaPH0km75MC.u Password is valid!
Output for 5.5.27
$2y$10$X/gd7tUas0Qaeoy9YxgYRepveVMiZ4aonT3A/mmwXNX7XjGBxIq.C Password is valid!
Output for 5.5.26
$2y$10$OlmBddl3BmyAg7bwBlc/KO5PNTBvdr91UPSR5iS6kv4TaF7fp.bMW Password is valid!
Output for 5.5.25
$2y$10$P7XLBN.vEdHWQzFIxF4dIO54whwlW7SSIIzlifQ0UFZN0VVDrItqS Password is valid!
Output for 5.5.24
$2y$10$QIop/zd4WM78e4xSfrj3m.lo.dXsBPpF19KIioIxXibhZ0TLcrhzq Password is valid!
Output for 5.3.18 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/iNNed on line 2
Process exited with code 255.