3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = "test"; echo "$password \n"; $hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); echo " $hashToStoreInDb \n"; $isPasswordCorrect = password_verify($password, $hashToStoreInDb); echo "$isPasswordCorrect \n"; $hash_crypt = crypt($password, $hashToStoreInDb); echo " $hash_crypt \n"; ?>
Output for 7.1.0
test $2y$10$KBdiiS1fjoURdFK8MTiR7emYXonA/uW6nFGGcAriutJnd5iMdA.UC 1 $2y$10$KBdiiS1fjoURdFK8MTiR7emYXonA/uW6nFGGcAriutJnd5iMdA.UC
Output for 7.0.14
test $2y$10$0DSUSM/GFm9dRV040mQr4.MRTd6DYhLyWzwoDAAjnfISajewlxdAu 1 $2y$10$0DSUSM/GFm9dRV040mQr4.MRTd6DYhLyWzwoDAAjnfISajewlxdAu
Output for 7.0.7
test $2y$10$Om7vdFeJaG5Eksh2WuLUdOkd/W642R9GI7EaCSgZJnUdJ02u1WRvG 1 $2y$10$Om7vdFeJaG5Eksh2WuLUdOkd/W642R9GI7EaCSgZJnUdJ02u1WRvG
Output for 7.0.6
test $2y$10$1xxfEHZ68pRKzwYYr7VNwedbLNi7iAzP6PcvD7E2GieMiqIimBKtm 1 $2y$10$1xxfEHZ68pRKzwYYr7VNwedbLNi7iAzP6PcvD7E2GieMiqIimBKtm
Output for 7.0.5
test $2y$10$IFF4hWLG8XfcYcY/JZsCk.9RUl3fgieZ9oGDefejUJNq4ZXqeHCOC 1 $2y$10$IFF4hWLG8XfcYcY/JZsCk.9RUl3fgieZ9oGDefejUJNq4ZXqeHCOC
Output for 7.0.4
test $2y$10$NxG4qByOk/g0JGe5a4wZzOopY7btG8h/F.gBE0rz4XMUtid4jYnCy 1 $2y$10$NxG4qByOk/g0JGe5a4wZzOopY7btG8h/F.gBE0rz4XMUtid4jYnCy
Output for 7.0.3
test $2y$10$/mXWsv6hxSQYU3vIPaiuvue8m/U8VHoWwtDNi40rWElgxyzcSh8Qe 1 $2y$10$/mXWsv6hxSQYU3vIPaiuvue8m/U8VHoWwtDNi40rWElgxyzcSh8Qe
Output for 7.0.2
test $2y$10$zMmD9LSdehSP5EMuqs7JK.b1WtFzCiulBR/AdI1IHFYopxiCOPAhW 1 $2y$10$zMmD9LSdehSP5EMuqs7JK.b1WtFzCiulBR/AdI1IHFYopxiCOPAhW
Output for 7.0.1
test $2y$10$kDq9.0qYTxptnwQS3EDm6O2yrBc8zegHjJxOfpjrA.VuCAU6IPJyG 1 $2y$10$kDq9.0qYTxptnwQS3EDm6O2yrBc8zegHjJxOfpjrA.VuCAU6IPJyG
Output for 7.0.0
test $2y$10$8P9wjmafYKqcCY./SbWZuurhXmuCFQ7IKNrcC30ofXuG2GJZH4O/m 1 $2y$10$8P9wjmafYKqcCY./SbWZuurhXmuCFQ7IKNrcC30ofXuG2GJZH4O/m
Output for hhvm-3.12.0
test $2y$10$rSWR6K1S9DtXGYfQhif48eLbUw0yzchkOO0WWm3QIuTdzR.nzAHJG 1 $2y$10$rSWR6K1S9DtXGYfQhif48eLbUw0yzchkOO0WWm3QIuTdzR.nzAHJG
Output for hhvm-3.10.0
test $2y$10$gGFlUguiLJKFXIoTktBsROsbv1XSXkHU8Mg73hsUK5A8LmFjIm8Dq 1 $2y$10$gGFlUguiLJKFXIoTktBsROsbv1XSXkHU8Mg73hsUK5A8LmFjIm8Dq
Output for 5.6.28
test $2y$10$4ObO4AIBqS5lxv5mFvfwo.MpHCSHP4IR8LAaS1RDZbnI/DXNJWgoy 1 $2y$10$4ObO4AIBqS5lxv5mFvfwo.MpHCSHP4IR8LAaS1RDZbnI/DXNJWgoy
Output for 5.6.22
test $2y$10$vFCA8FzZi1pkcMWPfHHsHeirYi5GGLH1kq9EAYdkL4nalmkNDArG2 1 $2y$10$vFCA8FzZi1pkcMWPfHHsHeirYi5GGLH1kq9EAYdkL4nalmkNDArG2
Output for 5.6.21
test $2y$10$Vw/yepFYWM2q6nXAP.FxVui99EbgzcQCFvfDSJGxaxwaCxpmi7.pi 1 $2y$10$Vw/yepFYWM2q6nXAP.FxVui99EbgzcQCFvfDSJGxaxwaCxpmi7.pi
Output for 5.6.20
test $2y$10$MDct51uPNd.n59FBioTYcuI7eRB7STPPrAjmDrvD8EUHxjcVRADw6 1 $2y$10$MDct51uPNd.n59FBioTYcuI7eRB7STPPrAjmDrvD8EUHxjcVRADw6
Output for 5.6.19
test $2y$10$w6DfCy8shrttgGIM3qii6u/iI30UrdJuwTdNgVCcrDv4trf9tQFmO 1 $2y$10$w6DfCy8shrttgGIM3qii6u/iI30UrdJuwTdNgVCcrDv4trf9tQFmO
Output for 5.6.18
test $2y$10$uEhXHuswHDFNW91B.8VBGePIrkbSi.B6BLl6IJkNN.qWS98yV922W 1 $2y$10$uEhXHuswHDFNW91B.8VBGePIrkbSi.B6BLl6IJkNN.qWS98yV922W
Output for 5.6.17
test $2y$10$J0QAGurcDazueSZkjHjd8uSmPxNd649elA5aruwFgTLnXnaVAyt/W 1 $2y$10$J0QAGurcDazueSZkjHjd8uSmPxNd649elA5aruwFgTLnXnaVAyt/W
Output for 5.6.16
test $2y$10$qsiaDqsfGdMifi/RcO4JEe0BliL.Gh3/lDedLQ0DEXSVc8Hb0/8om 1 $2y$10$qsiaDqsfGdMifi/RcO4JEe0BliL.Gh3/lDedLQ0DEXSVc8Hb0/8om
Output for 5.6.15
test $2y$10$Q/XrJ43.z9Sb/G1rn7xnWOdVgdG2/yY1v5ox0SQ6YznE68JP7o1gm 1 $2y$10$Q/XrJ43.z9Sb/G1rn7xnWOdVgdG2/yY1v5ox0SQ6YznE68JP7o1gm
Output for 5.6.14
test $2y$10$WzgGtqGtF7XrSJVPFXkHZOoAP3vFGRozRSaGIx9URXrF0Ph/kGzce 1 $2y$10$WzgGtqGtF7XrSJVPFXkHZOoAP3vFGRozRSaGIx9URXrF0Ph/kGzce
Output for 5.6.13
test $2y$10$4yZgeKhtnZ1pyXvQw5fzwOd7zoDV84u45LmdsiuC0nb4oW4jFvKAO 1 $2y$10$4yZgeKhtnZ1pyXvQw5fzwOd7zoDV84u45LmdsiuC0nb4oW4jFvKAO
Output for 5.6.12
test $2y$10$kAQ/OnzHho60J.sr532mR.oU0xJOsnF1uwTN1e5o7Tiw.ZfVE3g2u 1 $2y$10$kAQ/OnzHho60J.sr532mR.oU0xJOsnF1uwTN1e5o7Tiw.ZfVE3g2u
Output for 5.6.11
test $2y$10$nJ6CyCyoMJPSpTUL764kre7c58qPKYrmDKWBZ.SENEovLnO00h3cS 1 $2y$10$nJ6CyCyoMJPSpTUL764kre7c58qPKYrmDKWBZ.SENEovLnO00h3cS
Output for 5.6.10
test $2y$10$8DMBp7YKTrbfsvvjA2kpzuwa51OducCjOcK8c8P67MpjNRf64PO.6 1 $2y$10$8DMBp7YKTrbfsvvjA2kpzuwa51OducCjOcK8c8P67MpjNRf64PO.6
Output for 5.6.9
test $2y$10$0yzUuu/31nCrlS7mQuOBVOvWswGmB4xC76IZput3x4pC77rwuenc6 1 $2y$10$0yzUuu/31nCrlS7mQuOBVOvWswGmB4xC76IZput3x4pC77rwuenc6
Output for 5.6.8
test $2y$10$pU98ED2ujbJYfk0sBDQDi.y9vGOfU2hZa2dMIy3PJipUH8jvZXZ0O 1 $2y$10$pU98ED2ujbJYfk0sBDQDi.y9vGOfU2hZa2dMIy3PJipUH8jvZXZ0O
Output for 5.6.7
test $2y$10$26qx2PGGC9HOgZHp0u3SVulUrwppTGCyVi0omBIIZaDdekSkYojjG 1 $2y$10$26qx2PGGC9HOgZHp0u3SVulUrwppTGCyVi0omBIIZaDdekSkYojjG
Output for 5.6.6
test $2y$10$GWYbfVw.Ss4jV3ZABxmkuuzhGKp8B34TF2xbipiMXKxQ3S6Jx6GpO 1 $2y$10$GWYbfVw.Ss4jV3ZABxmkuuzhGKp8B34TF2xbipiMXKxQ3S6Jx6GpO
Output for 5.6.5
test $2y$10$4sapALCdCfP8zwtnN99pyu4SyKHdOBAq9YgEKCQGQ7PNpCxhihRYO 1 $2y$10$4sapALCdCfP8zwtnN99pyu4SyKHdOBAq9YgEKCQGQ7PNpCxhihRYO
Output for 5.6.4
test $2y$10$wajIPiLqYLr3S/sBVdgl4eo2g6/3Szm2No0MSqe7HrPOqOKg/6nIq 1 $2y$10$wajIPiLqYLr3S/sBVdgl4eo2g6/3Szm2No0MSqe7HrPOqOKg/6nIq
Output for 5.6.3
test $2y$10$OvNSXRjb4DWoILZEA8mHZ.tNrU5y.vHCu98btmS4w8scIWn4cjySC 1 $2y$10$OvNSXRjb4DWoILZEA8mHZ.tNrU5y.vHCu98btmS4w8scIWn4cjySC
Output for 5.6.2
test $2y$10$v43onB.4ykmYA6q6AiT7veBDjBRszKHV04zio3flDjI17j/l1wzzW 1 $2y$10$v43onB.4ykmYA6q6AiT7veBDjBRszKHV04zio3flDjI17j/l1wzzW
Output for 5.6.1
test $2y$10$/STPYu8Xap4c2fhgdifwuOtEcrc/febfMFgs7tLZQYb.10m7YahT6 1 $2y$10$/STPYu8Xap4c2fhgdifwuOtEcrc/febfMFgs7tLZQYb.10m7YahT6
Output for 5.6.0
test $2y$10$hy3Ejb53zeAEU8qZpQHKDek8/Bm1AGVFm1.xY1yKpSB.LguDmSkj. 1 $2y$10$hy3Ejb53zeAEU8qZpQHKDek8/Bm1AGVFm1.xY1yKpSB.LguDmSkj.
Output for 5.5.36
test $2y$10$Cc0tulWhEGX9ZUsyfraGOOQNe84g5T83YC/I.oYprG0P9apDB6NO6 1 $2y$10$Cc0tulWhEGX9ZUsyfraGOOQNe84g5T83YC/I.oYprG0P9apDB6NO6
Output for 5.5.35
test $2y$10$r/UtEFw9zdVA8DmMVQ8.b.WRRGRunCcadytS7pTzkjN6QqNv3YGvm 1 $2y$10$r/UtEFw9zdVA8DmMVQ8.b.WRRGRunCcadytS7pTzkjN6QqNv3YGvm
Output for 5.5.34
test $2y$10$6LORoKjsgWFNHamAE88G3.q5V4wmsUtqkmHaWnfWrlBgUoBhdlzdm 1 $2y$10$6LORoKjsgWFNHamAE88G3.q5V4wmsUtqkmHaWnfWrlBgUoBhdlzdm
Output for 5.5.33
test $2y$10$gUlQCiQMBS5WsK9j3yTs2OIxfzukauNY3KLsyN1aksrtIoC3fZRLO 1 $2y$10$gUlQCiQMBS5WsK9j3yTs2OIxfzukauNY3KLsyN1aksrtIoC3fZRLO
Output for 5.5.32
test $2y$10$PhdZOh5wQuN30lZIdaYYiOCZXswcTz97Lo9XyGMEw7vxnglPVysvi 1 $2y$10$PhdZOh5wQuN30lZIdaYYiOCZXswcTz97Lo9XyGMEw7vxnglPVysvi
Output for 5.5.31
test $2y$10$b90/819VtVHXIucHQift/.wTneZra3dA2awhXtEbwoeTW0k0YEaIS 1 $2y$10$b90/819VtVHXIucHQift/.wTneZra3dA2awhXtEbwoeTW0k0YEaIS
Output for 5.5.30
test $2y$10$4xfkiom1kcWSM9JwUQ37O.YQeGeesmLTtOGfwBiJoW4D9neqBn.s. 1 $2y$10$4xfkiom1kcWSM9JwUQ37O.YQeGeesmLTtOGfwBiJoW4D9neqBn.s.
Output for 5.5.29
test $2y$10$TEEjOi9Gs0fZ7q3gB06pc.JlrmWL3rygBlCDOJy5yRFtJ1qH9rZxG 1 $2y$10$TEEjOi9Gs0fZ7q3gB06pc.JlrmWL3rygBlCDOJy5yRFtJ1qH9rZxG
Output for 5.5.28
test $2y$10$hrTI8B1F3wHCi0P2rPifiODdk.4tZNsVRdCWuJH8DviSk7rU0dynq 1 $2y$10$hrTI8B1F3wHCi0P2rPifiODdk.4tZNsVRdCWuJH8DviSk7rU0dynq
Output for 5.5.27
test $2y$10$NwWCSVbg4LCTRD1FopsnR.NkJHE4mO71r2YMwzt56AgVvwFSP2J36 1 $2y$10$NwWCSVbg4LCTRD1FopsnR.NkJHE4mO71r2YMwzt56AgVvwFSP2J36
Output for 5.5.26
test $2y$10$ZlbSGq0lWjks3NKLHHAwMeqVPIBXccdOml4Xp6DgrgkoK.UPLj4qu 1 $2y$10$ZlbSGq0lWjks3NKLHHAwMeqVPIBXccdOml4Xp6DgrgkoK.UPLj4qu
Output for 5.5.25
test $2y$10$kh0QzF8H4UrZA6P0w0b4Q.qRJc.94BLh.YIMIberM4CmMKlhAuRFK 1 $2y$10$kh0QzF8H4UrZA6P0w0b4Q.qRJc.94BLh.YIMIberM4CmMKlhAuRFK
Output for 5.5.24
test $2y$10$yAO5/BB6RIz1stPEtYDBeePiWsR.QI5vle4JTEU6HvCnl955QO84i 1 $2y$10$yAO5/BB6RIz1stPEtYDBeePiWsR.QI5vle4JTEU6HvCnl955QO84i
Output for 5.5.23
test $2y$10$/OAz78IXyacGpFCECxld1ucs8lNyaj6EQ1sqNTCsLWCPzv7JFfLLi 1 $2y$10$/OAz78IXyacGpFCECxld1ucs8lNyaj6EQ1sqNTCsLWCPzv7JFfLLi
Output for 5.5.22
test $2y$10$i0BixCAAPXgFGZIHin7x8ulpNo8oIW0cuad/VK0eJnFxVlw.lNyWq 1 $2y$10$i0BixCAAPXgFGZIHin7x8ulpNo8oIW0cuad/VK0eJnFxVlw.lNyWq
Output for 5.5.21
test $2y$10$/TgeEdufXdou3I9M8c9ovu1aZTuGPV65JxCmYepnS.BLqGFsq.Vdq 1 $2y$10$/TgeEdufXdou3I9M8c9ovu1aZTuGPV65JxCmYepnS.BLqGFsq.Vdq
Output for 5.5.20
test $2y$10$aMIarvlhUh2SenWxcNa7auBMjbZTj7e7O.uTfMt3cwmTNUp2cqIOi 1 $2y$10$aMIarvlhUh2SenWxcNa7auBMjbZTj7e7O.uTfMt3cwmTNUp2cqIOi
Output for 5.5.19
test $2y$10$H2M0Kb8do.wovEOudXMK6eVAh2X.i2lCPVtsb9l75XpkoTiFeXuPK 1 $2y$10$H2M0Kb8do.wovEOudXMK6eVAh2X.i2lCPVtsb9l75XpkoTiFeXuPK
Output for 5.5.18
test $2y$10$vf95WHpCTCEjk637gZMFY.NUMlXUj0hPYasNyV1Ovkbi0px9Atkt2 1 $2y$10$vf95WHpCTCEjk637gZMFY.NUMlXUj0hPYasNyV1Ovkbi0px9Atkt2
Output for 5.5.16
test $2y$10$qKC3979/5wIOdoyuvGYZNOcsyWcqafRiNH991iJlF8w/7OdrJjkKW 1 $2y$10$qKC3979/5wIOdoyuvGYZNOcsyWcqafRiNH991iJlF8w/7OdrJjkKW
Output for 5.5.15
test $2y$10$yu5rHK5gUc2wyz..p3UGG.leCX.a3TjGHj/YwCZwI8KCxYWASm4We 1 $2y$10$yu5rHK5gUc2wyz..p3UGG.leCX.a3TjGHj/YwCZwI8KCxYWASm4We
Output for 5.5.14
test $2y$10$da02izKOzAHhCzhXSOvU8.M2a96lPcln8a3oKEygFt2dM1QeruhSu 1 $2y$10$da02izKOzAHhCzhXSOvU8.M2a96lPcln8a3oKEygFt2dM1QeruhSu
Output for 5.5.13
test $2y$10$for1evafy/dsjZ2JLgWd8uEIioL1TDNv5fiUSjXuola7ZZtVI3pr. 1 $2y$10$for1evafy/dsjZ2JLgWd8uEIioL1TDNv5fiUSjXuola7ZZtVI3pr.
Output for 5.5.12
test $2y$10$mYlY98UzBwPZonQBfDwB3uk4FB9bC5Ajvx6W849AH72ZJIENiZiK2 1 $2y$10$mYlY98UzBwPZonQBfDwB3uk4FB9bC5Ajvx6W849AH72ZJIENiZiK2
Output for 5.5.11
test $2y$10$dxEjBqdLaexiZvbPsMqItuA5SmSuZLZI6oxtS8iNI8G.uOR9LwwDS 1 $2y$10$dxEjBqdLaexiZvbPsMqItuA5SmSuZLZI6oxtS8iNI8G.uOR9LwwDS
Output for 5.5.10
test $2y$10$99.gtEByk/Z4SH8.Cq1NQe4BRF1rB0NNemcZSMFGIzEvXNpkSUbM2 1 $2y$10$99.gtEByk/Z4SH8.Cq1NQe4BRF1rB0NNemcZSMFGIzEvXNpkSUbM2
Output for 5.5.9
test $2y$10$f8uTItrNC0QU5SzRE13FxeFob4A287q0Fj61hnddLw2xRdk/BiQnu 1 $2y$10$f8uTItrNC0QU5SzRE13FxeFob4A287q0Fj61hnddLw2xRdk/BiQnu
Output for 5.5.8
test $2y$10$/ihQVh38HGuGteN1oUyK1.ANiz4laLr9VD0ewZs.ed2XdbAwkFDKC 1 $2y$10$/ihQVh38HGuGteN1oUyK1.ANiz4laLr9VD0ewZs.ed2XdbAwkFDKC
Output for 5.5.7
test $2y$10$O3OLoEN7AMrdFq85.WNn/.gVD9ofNuqcxxQiawZ7IJM7ixDQ8mwPy 1 $2y$10$O3OLoEN7AMrdFq85.WNn/.gVD9ofNuqcxxQiawZ7IJM7ixDQ8mwPy
Output for 5.5.6
test $2y$10$AsWIepeQ116WQiZFz4tybehzHF4iJaYm3hAQTqhvmIYKYyICusdHe 1 $2y$10$AsWIepeQ116WQiZFz4tybehzHF4iJaYm3hAQTqhvmIYKYyICusdHe
Output for 5.5.5
test $2y$10$2nVa4hFIiFfEJjf8unsrU.aRkyHm.9qeI2.T8J2p/9TYUjqUagpEu 1 $2y$10$2nVa4hFIiFfEJjf8unsrU.aRkyHm.9qeI2.T8J2p/9TYUjqUagpEu
Output for 5.5.4
test $2y$10$WpVyDo7GS3OA3U9Qv/YFgetiMn8yagD6M.MuqnbGSynpiEQuIcEAm 1 $2y$10$WpVyDo7GS3OA3U9Qv/YFgetiMn8yagD6M.MuqnbGSynpiEQuIcEAm
Output for 5.5.3
test $2y$10$OtDoqxyhDgiNJ9SfotRB9O1sM3w0cnfj7ozAHCyfydyNabnmp6r1q 1 $2y$10$OtDoqxyhDgiNJ9SfotRB9O1sM3w0cnfj7ozAHCyfydyNabnmp6r1q
Output for 5.5.2
test $2y$10$Wjd4ppycCXu1OdoJkGY7z.CLYLDEUdRTaje55kTLxRQdhOaZ65tP2 1 $2y$10$Wjd4ppycCXu1OdoJkGY7z.CLYLDEUdRTaje55kTLxRQdhOaZ65tP2
Output for 5.5.1
test $2y$10$fFsRRurwTFU9w7ll66nRQu5T7jQrXqa.8.yeA1TtDmX2fzPmiyiV2 1 $2y$10$fFsRRurwTFU9w7ll66nRQu5T7jQrXqa.8.yeA1TtDmX2fzPmiyiV2
Output for 5.5.0
test $2y$10$IL0aKZX.JKaKrgP/LMmRD.766Jov8fyxlULxQPgvsXwNHMPiMsKKO 1 $2y$10$IL0aKZX.JKaKrgP/LMmRD.766Jov8fyxlULxQPgvsXwNHMPiMsKKO
Output for 5.0.0 - 5.4.45
test Fatal error: Call to undefined function password_hash() in /in/1arRi on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
test Fatal error: Call to undefined function: password_hash() in /in/1arRi on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
test Fatal error: Call to undefined function: password_hash() in /in/1arRi on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
test Fatal error: Call to undefined function: password_hash() in /in/1arRi on line 5