3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "hi"; $hash = '$2y$10$tsxvQurV5.jrREFYEL/f9us9U1obZ1/935ILzOfpPSO4GeOdt7YL2'; if (password_verify('demo', $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.' . password_hash('demo', PASSWORD_BCRYPT); } ?>
based on lSn7l
Output for 7.1.0
hiInvalid password.$2y$10$bXu1iiUbiRLljRTzrOdWQ.RaMu4Ld8TGlWQLFU3wWHcbg9z5VTRpy
Output for 7.0.14
hiInvalid password.$2y$10$LbDiFUkUnmykaE7SmIlu/.Okzeh6YbqFZ.oKS6nV9kYPj4tzc6ROe
Output for 7.0.6
hiInvalid password.$2y$10$mfhTgyJD/W5dTRMBHdBIYuu28nlOhwG1NQCUmwXCBRFDdpHHfeoT6
Output for 7.0.5
hiInvalid password.$2y$10$pb2KTO7n0S9XZKBTnoe3i.pXNSCkQ5EItvcoh4vT5X9lHCgL9cHzi
Output for 7.0.4
hiInvalid password.$2y$10$5c.rzCn9EZ.d/IyOrYNUJu69obGjRu8QljGlzIAGcOsU4NVZva6p2
Output for 7.0.3
hiInvalid password.$2y$10$GeTYXNCV/4P6cU7i2SNN/.C0rv.MzXHazSOwqzSTB6Es.AdFvM2bu
Output for 7.0.2
hiInvalid password.$2y$10$nKPVKUFnZYUIWWlGWyrr7uGoJoQ6l1pj4lJ8lDB2zWfjVxSm...iq
Output for 7.0.1
hiInvalid password.$2y$10$QjFUrZDt7/3sOhT4fiX1Fu7SQXiNcRz4kUsxCdV5EoCbQ2ZRBvU12
Output for 7.0.0
hiInvalid password.$2y$10$Zu40wjB0..fC88HbghEQBeMSp9bWfWdMm2wW/VqXj/KPqFisxg13e
Output for 5.6.28
hiInvalid password.$2y$10$osr5QX4LGGx5OGs/MUIw9ecPsL1GfhnKtoF3ZjcGacbWGL6Few.ku
Output for 5.6.21
hiInvalid password.$2y$10$9eKsk1CacmUpVZ609kJqhenu.KjSwm2vDqRnIzBFB0gtZqHCx06xC
Output for 5.6.20
hiInvalid password.$2y$10$Xo8a8h2Q7yxLIE7DZ3BYwu5Wg0s0BWMLC/wLB1N4pWC41xFEYKZ7W
Output for 5.6.19
hiInvalid password.$2y$10$Ugr5UBnZ/FKCMtJiVP3nzOcXj8VBDkprXhzq2Pk96eOvmfDIBxHz6
Output for 5.6.18
hiInvalid password.$2y$10$ohD3KNLeHorpIlMlzQRRwuop6qXb.l3.VAfOgzjAJrk4TfELBqN8.
Output for 5.6.17
hiInvalid password.$2y$10$1/cZE/Nn1GNXt2BroXOtq.oKWcFnnOHrta.GUgtI/1itwT65pySoC
Output for 5.6.16
hiInvalid password.$2y$10$WFfc.tCOvwSEf2OJhCqpcefDn4F.O/LTjxFdYyZqsmiFcMtsus.bu
Output for 5.6.15
hiInvalid password.$2y$10$hfpmKbZpcSCZuLTmYI/Vlu16aVJlazg9j/nhoSuGIQtOlE2i6ba8a
Output for 5.6.14
hiInvalid password.$2y$10$K3rgxbWgi8PhNY1X5qHc3uz9qgEMtMEQkLA5ERMkwui93K1kR0WDa
Output for 5.6.13
hiInvalid password.$2y$10$TiJnF0w3nUWSKaS34zN1IuJSiOl7x.oUkxNGTZ.FrQkdAJR2HUnky
Output for 5.6.12
hiInvalid password.$2y$10$smmLDnvThWPwiE6thOZecOl/jCl8qFt8hWoGE3.4T/WMRHR9PQvK2
Output for 5.6.11
hiInvalid password.$2y$10$xQQHoCiS6ft.gph7fH5c8.VAcQoEZvs7ylN.9pezv2KTKNG2vY6WS
Output for 5.6.10
hiInvalid password.$2y$10$o7BUhcfrGJ6Ebxr1typyZ.N9uiFhH3gqAMVqfs7xXN80/Gvjj9HJy
Output for 5.6.9
hiInvalid password.$2y$10$ZRyr0iEGfWSZsyO8rkO1SeA4p.TeLdoX91ZPSns1Otks30rCf/GCu
Output for 5.6.8
hiInvalid password.$2y$10$2Qax4MTS2CfUahEyqgB/I.pDmwBQKPaj/r1qhmuWl0QPo5E/Lwlk2
Output for 5.6.7
hiInvalid password.$2y$10$oHgvQHrp9RObkerUAKuWqecdKntGrA9PFK0aW2Ael0/RQ4TA8fWPi
Output for 5.5.35
hiInvalid password.$2y$10$AN8Shns2sByHj12Gawioae3mJ1PKVcdR.ADJjhCDYjL5YMU9qDJRK
Output for 5.5.34
hiInvalid password.$2y$10$sL7D2ucCuc0GT8wWjkOVP.xPe5KyVLIE7Ehb.HgPdiXnajeO1ZwbK
Output for 5.5.33
hiInvalid password.$2y$10$BQ7B0ASijQ0sO7BdoTmVNePjFMk4egiTJ6xNgr8KdQuStb8BvXYgi
Output for 5.5.32
hiInvalid password.$2y$10$3ol8tEP2dyWX6HUx9b5HoOyomDO/e0KULrEW8pEZ67yFfIR47ezVC
Output for 5.5.31
hiInvalid password.$2y$10$Jh27iwC8T3L9V/EfKEjGuuo7YAdD951/j.YmTrhIL1bqgLP9/5eJe
Output for 5.5.30
hiInvalid password.$2y$10$lBkZeg/3Hwc2T12Fuo47ZO8Zyxi4fBt3m0ffUhufkWYQO7691dyMy
Output for 5.5.29
hiInvalid password.$2y$10$Frugj7z8yCa5fC4eDuQ1BO/WkY32gUFAxtWdOTgKjlGXWSIsytoNm
Output for 5.5.28
hiInvalid password.$2y$10$1jxZywk//9zGW4zfcSK6Re.VfdAj0WA3dmk7IE/9c2p2Xn/XQnsXC
Output for 5.5.27
hiInvalid password.$2y$10$/YxF3xtWkqcUMyE.2MmHAOL4Y.HUt4rfvAK.H8sEeAiRLbyzL0gye
Output for 5.5.26
hiInvalid password.$2y$10$kyBb3..aXtUu.mhKlUDdcOyA7PJg1t9T93G2qLiYAx2nOkgZvWzvy
Output for 5.5.25
hiInvalid password.$2y$10$wyeEh25gv9Etg8meAmXKwerkiKdczHBquJx6NzlxL5gsfuppGncb6
Output for 5.5.24
hiInvalid password.$2y$10$MX6GqlxR30ia3whCWTkLgu1iUnIV5D5nyX.QAYf5zuPGZa7YjM.qi
Output for 5.0.0 - 5.4.45
hi Fatal error: Call to undefined function password_verify() in /in/1g3kp on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
hi Fatal error: Call to undefined function: password_verify() in /in/1g3kp on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
hi Fatal error: Call to undefined function: password_verify() in /in/1g3kp on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
hi Fatal error: Call to undefined function: password_verify() in /in/1g3kp on line 5