3v4l.org

run code in 300+ PHP versions simultaneously
<?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); } ?>
Output for 7.4.0
hiInvalid password.$2y$10$JCH6Vyc7bewp0zXXcE473OnItP9mnRgI9dirTZUxAk1aIM7/vbnV.
Output for 7.3.12
hiInvalid password.$2y$10$4lI/lbWqwpRVlTOBFSodl.Ja.cRxdfZ4g5FsotDNG0doBhjdmrqsm
Output for 7.3.11
hiInvalid password.$2y$10$Qgwq9dda0MaydT5TJh2V3ucZnIJwaUL8ejAA/fWFkMtiI2vvAEcWq
Output for 7.3.10
hiInvalid password.$2y$10$ye0ajTHEuVp.iXNPQ8xpxOz8DnrZzFWdHBgjwXwy1rWpxV1hj0VDu
Output for 7.3.9
hiInvalid password.$2y$10$hacbdIaTyW8sGgNjHbYqjeFrmHxrF12ykfd4Uh3ttaNE4Ei9/0FyO
Output for 7.3.8
hiInvalid password.$2y$10$f75ij2hzDIQKLdln/SssLuutTueOFLndpTswGjvMQsOHg.1dwnBay
Output for 7.3.7
hiInvalid password.$2y$10$PEbD1swVAk.MvT/WQ3Skw.192/3drvRW6SZzsDIkNryAV4swrlJ4y
Output for 7.3.6
hiInvalid password.$2y$10$djTIBFR75epnnAo7qCsb3ebFakm3bD2d8AYH/1X6XL0xHNPOYBIH2
Output for 7.3.5
hiInvalid password.$2y$10$bwg0yDLpeRjpL518TAq6Fet/4OcOnje011hcchv72Otxowt70w2XW
Output for 7.3.4
hiInvalid password.$2y$10$lTFars4Q0RibZx8uXwVr1ehobCBn5HePFntx4.XxxMhbhQ/1egNxC
Output for 7.3.3
hiInvalid password.$2y$10$SZJYDTUq50RJivP8zgefMe3b4Ak8/IjJvVpzRz210YOfnt1PD2AHm
Output for 7.3.2
hiInvalid password.$2y$10$gRetc3JXtXQKfD0TG9eegOkOAz2aUiWQgnYfErrzNGA8aGaeMXKGi
Output for 7.3.1
hiInvalid password.$2y$10$Z3d4lEk3FLn8wQtWcF8f/uE/srV9Zvwnt1HIQlBd0ArOyOhaFtQ8.
Output for 7.3.0
hiInvalid password.$2y$10$Xt/6xFO37ewMMjLPpbl.6OkUNIksE5rUGXk09kLmBEluKlWQfE0y2
Output for 7.2.25
hiInvalid password.$2y$10$TjS.nDePuTe4PHQTXgDWVeTHPXcNzz5.TOkKlwtLjZShh0HEZTezi
Output for 7.2.24
hiInvalid password.$2y$10$b/wZ2HwcPizdszrrY3w1KeVplIWWIWgpqvsfqXp.zqj4C82i1If/a
Output for 7.2.23
hiInvalid password.$2y$10$2kz7dzzxzmaiaHb6eGE6Te1cPv0h7cUYjTu/UVHuopFaUl9c2Nake
Output for 7.2.22
hiInvalid password.$2y$10$enDckfKBWYStH.SdW8LIFOkZ//alKdFURSlQ2fpr5JuSE2U.TMbEK
Output for 7.2.21
hiInvalid password.$2y$10$dOJvXy.smBh9BgiCvtHGA.Bksn4fm0JS1RyjZxpUlWYD8SxNNIzvC
Output for 7.2.20
hiInvalid password.$2y$10$EOkv2gafIatloRYklZb4SebCsE4v9CLrvWLr1fPryhJt6D0XC8Mq2
Output for 7.2.19
hiInvalid password.$2y$10$l9rTHBcizrquvOpKspNkzei8Vp.GoxGCfn6g7cRfBytp2iEFO6UUe
Output for 7.2.18
hiInvalid password.$2y$10$cidNm7OIGNDrXO2OJudS9OKOC2zzN4rzvpK0bI7wha6flxI4PJCJi
Output for 7.2.17
hiInvalid password.$2y$10$HrNf2RzcyxPs8CgBG/StIuPkP.tMZaVvzaiWKsygL0njnhhPVyZYa
Output for 7.2.16
hiInvalid password.$2y$10$6G.Dc5IxP96fL5kp8yfVLuLjwtcHm0hdxmi09LYJq.qzl6aEageZi
Output for 7.2.15
hiInvalid password.$2y$10$nlC6GoG.RFxWKQNQ6gPl/.XALawV6z4tm3fiOkfIcSrJE/0ZyGjFi
Output for 7.2.14
hiInvalid password.$2y$10$5ag1lmAb67lRuhvUr/MZO.xpq9bj.K.o7mmGxPAzuuL6Pfjejez5u
Output for 7.2.13
hiInvalid password.$2y$10$0CBUWL.xZVvwkGPZPBhLhu.rXOXm94cUSBAiHNbjF0NmBpoIs7UGO
Output for 7.2.12
hiInvalid password.$2y$10$uhGkYUEYMHFbfDvrAwEld.ouAaQ7BJUga/93vmWo6Y1RILZZajl1q
Output for 7.2.11
hiInvalid password.$2y$10$eioaOQg43NB4JOQd/YZ71OggEABf.rFWd6Xt6ySwRNLhnkTCuAvV6
Output for 7.2.10
hiInvalid password.$2y$10$3iU0MXR7lgs3kKBtp.neFOo2SwZBWQ3gHHp7ItMwduuh2oy1fWb3S
Output for 7.2.9
hiInvalid password.$2y$10$CSDOg3sWKOrjXOsZ6k9Cp.ar..QDNSvV2AkWqEvFjWWkqF5IlLgE.
Output for 7.2.8
hiInvalid password.$2y$10$COAdd4qh3VIO7ILYwIerQe4jz4rsOUPuYmC8wnIZeei06ZRZWoeQ2
Output for 7.2.7
hiInvalid password.$2y$10$y.ReG/DM35wA7CHXjJSCgePmS3f1uqX5SZ3C0n3/c2pSY1acqmvGO
Output for 7.2.6
hiInvalid password.$2y$10$frdbDL8fK2U7yzdt65KjOux2dOlIano7/rhLj9GJAKDw3m9MtDEBu
Output for 7.2.5
hiInvalid password.$2y$10$3Bv6qUlgkGd7Vwz/3WK26uHKxYDwU.clovML9DjWA7/50qlDzKqES
Output for 7.2.4
hiInvalid password.$2y$10$QM/LaPBIwdl3QMlrlDhhn.uqnMPr8j.3i11pWSz4T9idQZzQVfgA2
Output for 7.2.3
hiInvalid password.$2y$10$njcm.lU92XbJrbu6SGnNN.Me5JR/XWdiOulAkVHhG6kjywqbPLCCu
Output for 7.2.2
hiInvalid password.$2y$10$qxBVMRS7vUTne0yz9Py7SODwQ/ZjqOcji8GdUyg61yvesareTc9LW
Output for 7.2.1
hiInvalid password.$2y$10$pL4iTkHlhxADpFtgBiismu2rERwLXRxW/LJj3WiXsbjM2nXyITfXS
Output for 7.2.0
hiInvalid password.$2y$10$0JLvRTGddLQdVC/LFM3ig.TSvE1.f.G6460vGgmuRjAsWCG1TZZ0C
Output for 7.1.33
hiInvalid password.$2y$10$Oh3u0YZPWOeFNsAeQmWYkew2pf.KviRd4kE5e3PxnleHgO6ZX7gea
Output for 7.1.32
hiInvalid password.$2y$10$cVWo5mlHz6rTMiCNdlgfh.vwhihh7ESz9A.lXwLPYK8VetCtMdARe
Output for 7.1.31
hiInvalid password.$2y$10$rvGKsJxYN2Rzy7UfK8xlveT0SrCQMMxKDydKrbvQdAr1MZvoEN28W
Output for 7.1.30
hiInvalid password.$2y$10$VAbY9hG0YgbOf78u6PKnlOQ0vHeTs9WU822.vw2FxPVgRsBFLMIwC
Output for 7.1.29
hiInvalid password.$2y$10$Jy9DQmvtLah59gcEmCHiaOg4qddpcaLAO5.zRI5tDJAZIc4fQ8EVu
Output for 7.1.28
hiInvalid password.$2y$10$FlK4QiNXGmBCf2R3tGR4jegVsF1X79BkBUTvMEeD6LMFWP7EfOcYC
Output for 7.1.27
hiInvalid password.$2y$10$sT3AWhgFCFvUINu63ovQeuKcZkpmtn0.MaB9/umVoG.xUtVg/cTbe
Output for 7.1.26
hiInvalid password.$2y$10$vXoLComcnRff1rkgcDzByuWlNVb/85lvvKVT6VzLUOSn6mqvWvY06
Output for 7.1.25
hiInvalid password.$2y$10$KpTgqeHYT3lTSK7czoglkeqn7uHA9x96fnSTjAC0HMoPXcff0gXw6
Output for 7.1.20
hiInvalid password.$2y$10$tKiHXtxLcAeg5cw7fGwYo.R9UTtaeRu/JjIGHS1Z3JR4UOASw9slO
Output for 7.1.10
hiInvalid password.$2y$10$cfaCYwRKT6SAhM5B0aDIL.VKKdJiIRbnQB5yPx0dXH1.gOr2WlOgq
Output for 7.1.7
hiInvalid password.$2y$10$2fNpQ0gWfGWf0BziWNzPp.gDnaj8JZJRsGeT55DK.c8OXI.J3V4rC
Output for 7.1.6
hiInvalid password.$2y$10$3sJNSpwK0D.21ujoil/Zu.pZ0PBFgEGnYzRSw/hH1seet7l6uOi9i
Output for 7.1.5
hiInvalid password.$2y$10$zvR5fCpNDEaikS16xqtIF.DpKMr1o4ZnYYRcO5THmRnLbKog4dLUi
Output for 7.1.0
hiInvalid password.$2y$10$bXu1iiUbiRLljRTzrOdWQ.RaMu4Ld8TGlWQLFU3wWHcbg9z5VTRpy
Output for 7.0.20
hiInvalid password.$2y$10$xVeNi3OVFKy3wqlDrxNUcu6cfU2SeUb8lU95aaqlCzOCZoLvOK8zG
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.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.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.3.11, 4.4.0 - 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

preferences:
65.56 ms | 548 KiB | 5 Q