3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = '/f)1c(-JG'; $hash = password_hash($password, PASSWORD_DEFAULT); echo $hash, PHP_EOL; if (password_verify($password, $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; }
Output for 7.1.0
$2y$10$zkQ5e9eQm1lf4kjnvpBDM.8N144c1S.O2pCOrwhdyFIDzHB.11iRq Password is valid!
Output for 7.0.14
$2y$10$8Pg.QcSecS7j8gFDHrb/3.0FppGvgr4f6nVAvaKwHFrwZcqo/khG6 Password is valid!
Output for 7.0.10
$2y$10$Zz/0lSj98ChtarJocOMR/e4ABK0n2iy9pU0nqp2DSD0k0wVktqbce Password is valid!
Output for 7.0.9
$2y$10$6oq3Y/oE6cMQVPXBJthAROgxZtiUkm9Z5.6ODyH84Uo8Lk/69S89G Password is valid!
Output for 7.0.8
$2y$10$wVkvWzpTbk83.H3U/gDl5evmPrMHSRVF3LWwcT9Cnpk2t1sK31Fum Password is valid!
Output for 7.0.7
$2y$10$NkzKJJ1qRyepvGEyhUFh/eFinUAIKa//9Aeov3zo0DgGAMenLlb9q Password is valid!
Output for 7.0.6
$2y$10$Akiug94ED/ViQ0F/Xjk7LeGxbty6dk46/o2evvZh1mpJM6umclkrG Password is valid!
Output for 7.0.5
$2y$10$rcnUeOIWlG0VOKktttJI7eZRmPcT71y.l5PHlp2v6HkKsxOFMZUEO Password is valid!
Output for 7.0.4
$2y$10$FHoFX7vUoU72sCuppiqUnOYnTxLkcFXkTXZ4Y0Y9w0.MwiIRakC7y Password is valid!
Output for 7.0.3
$2y$10$kift//MevZa26jueLDGg2eBfu60/SnyrDQtJIdyL3G9Ql0oerOQlu Password is valid!
Output for 7.0.2
$2y$10$3uOkWaDpLC/WRyaJfZqgGOXIu3hBQ/WwLj.xa8h24Pwu9rLI/I5eS Password is valid!
Output for 7.0.1
$2y$10$LKRqI0eE88ALkGUb6yqv3OQPgJMont3N5NdhqFQTlu8m7q/VF8kIW Password is valid!
Output for 7.0.0
$2y$10$DRNlwJiqbOE96AFiv6cpn.9DuNDavwmLehkvAdArDGEJvspRNU.cG Password is valid!
Output for hhvm-3.12.0
$2y$10$ZIu/ZROqkPWDrZWCs33.l.UgNZfSbahXjXfCeP69zUMhYUEgV3giG Password is valid!
Output for hhvm-3.10.0
$2y$10$3vCFzw.VZSN58NimQ4Er8eNxw/MPIn1gpPBlNqTDr8UoK5tLz4WOW Password is valid!
Output for 5.6.28
$2y$10$84czSNEuOz0YowaICu1KtuFTBxJvuKkSo397sy66e3.uNhF2Udt3K Password is valid!
Output for 5.6.25
$2y$10$hPSd2Fyl5ceqD3g5o5Z.BeQmOKNaJ4WikIywtFWZfPIMjiFjN8zIC Password is valid!
Output for 5.6.24
$2y$10$j3ZZnL3ISGaP0tsyOsbE2OIUr.D.D0h5v2LFDSlLfkxu5WydYQhWG Password is valid!
Output for 5.6.23
$2y$10$u4cUETUOALGBFps5F1cnrO7Tbv1tadBlKR9Fsea7KwzmHtJPOKSna Password is valid!
Output for 5.6.22
$2y$10$5JVHMn/oECrR8rVdxuTPX.6W7pT7scMBmK3mhoyY30Evlg6DCass. Password is valid!
Output for 5.6.21
$2y$10$JUUFNAEqSMljV0daSpR00O8Uc3TF.6qLf8Y5H0xGBgZAXfPlU.Lv6 Password is valid!
Output for 5.6.20
$2y$10$A0M8EDOJ4kprqT83g2.RBe46rIC5B4lz0UMXHx7AGF6R3IigwIkzy Password is valid!
Output for 5.6.19
$2y$10$mz5tkbfo.S0a7ZWaHj6n/uLU8EMxKGXUgGW9REHMbJMRO7G5bGh0W Password is valid!
Output for 5.6.18
$2y$10$EvNgak8RMwd9zfku4TyqKuH48RXXriWXTkOvzdzVugGFqCBWakAEG Password is valid!
Output for 5.6.17
$2y$10$j7TzCjQmRadhEGKa.C/hO.qwNFNe/i0aWR.ZPeTGwHgdSKNGKoCRe Password is valid!
Output for 5.6.16
$2y$10$O/KpTyYjmthQyxALiFViIuARkgsTIzvUTXBnxPZsJ8Xqg5iGaofSe Password is valid!
Output for 5.6.15
$2y$10$Xpl.ckseq/i7/2UbWKw9AeivKQDiWJICFL4FOTgrdb23wqvcT2DHq Password is valid!
Output for 5.6.14
$2y$10$j66WAzB6kmwT4VMMTUvnjOJNQicz8DL3uQK8PH1wr2bIEVWL7jITW Password is valid!
Output for 5.6.13
$2y$10$6sHMNE2rJg74FBQ4UytobOYJ8ayQyV271AJa/hd/tOMhJLef4xTpu Password is valid!
Output for 5.6.12
$2y$10$xcwJOCxjENtklCi8l5UeaOXiUhhCUYDV6VnT4ETH4VUqwab22NSCm Password is valid!
Output for 5.6.11
$2y$10$gXu6upWeICurpnIwY.AZ3uiRG.2S6Q6bHMkHwLf1Iw91RaEElT.Q2 Password is valid!
Output for 5.6.10
$2y$10$YAYDJ84Qlprm0awDHRlwZur/HuXDcUsml.UFeD3QUbluY5uVGFPaq Password is valid!
Output for 5.6.9
$2y$10$.kj8tg5I0Cty5HMafNTMQe423uaZyjGysum1TaZvnumYj7VZgTum6 Password is valid!
Output for 5.6.8
$2y$10$mwm6kTHXWpLW.bCcadpl4O6VidF1Z2jrswkJqpcScv29PtDimOPX2 Password is valid!
Output for 5.6.7
$2y$10$TQeC2WPXTx5sX2QNxL/y6.vnulVVF62pvWNCVjCwNprDfxiKXIfLS Password is valid!
Output for 5.6.6
$2y$10$D4fq2Lr0RXLF0rAEk9Gfa.zbpKY3guerFWoTCZ5HNTdWvHU2YyiD6 Password is valid!
Output for 5.6.5
$2y$10$KZzXFXv5pTy7E3g4tHy7QO9HN246SMy0QYcn5Hw9n2Ma48vusuGU. Password is valid!
Output for 5.6.4
$2y$10$YNT/USIJ6bAWMQDUhXNLNe4PEpTL9mHxTCc5KJI9rrx/STfBlGkGu Password is valid!
Output for 5.6.3
$2y$10$L4TBbT9YeTRw3UchdWFe6e5jDs5/7ZsRDdV6n.Y/dpc8lV2Zm.zB. Password is valid!
Output for 5.6.2
$2y$10$v.EA9u.cgcNsV40Ru/Y9feRzkp9IAKZWQHK7bGIzXZZ3zIVMnKEty Password is valid!
Output for 5.6.1
$2y$10$4gFa9BCqeDSatl2qIkpGJOOdMJimqUNkhxriW1OJ159u69guuW46K Password is valid!
Output for 5.6.0
$2y$10$euBT9TlwxG08GeLr3AgN/eDe3MGCnWEqabzyg.9MWyUXiYh.Edw66 Password is valid!
Output for 5.5.38
$2y$10$Zb27Pw91b.Gncpy4gat6XuwRq78VpjamVjs6X6M2LbxlkdaMxTCai Password is valid!
Output for 5.5.37
$2y$10$teCGk4dExMZVvREwceAXauMWFBYQlxOMGU19DwUAi6IXA1XcIgb1e Password is valid!
Output for 5.5.36
$2y$10$hurJv1afOnsLPkHCEzmqK.EPNYLY7JXRJjDNJ/qfTqPEpGc9Y0lpO Password is valid!
Output for 5.5.35
$2y$10$F8h9iZ3e0dpsQOHsdGlfiun6NOCJufNaAU/ISjC1Zjj3ZwgLjqNbm Password is valid!
Output for 5.5.34
$2y$10$4cGKTSf8ad2s9ioeXluN/e/zIUrxt7M/QMbjamD8n5PeV5.T1v96W Password is valid!
Output for 5.5.33
$2y$10$F/dOmLZz6kHXGu47JxxOjuTnL3amN5QXZ9yndU5nC0WXkOZ3sr8Hi Password is valid!
Output for 5.5.32
$2y$10$ySTlnZsJ76qbddJIdYYPhuo1g97/yZct/3.VyL.P.keUtAX4ag2Eu Password is valid!
Output for 5.5.31
$2y$10$sRjLQ9gqe0/Bj6JpBoiHP.KV1hYNnHKtlzYmRyXtyLefIs.5vRbN. Password is valid!
Output for 5.5.30
$2y$10$oMfUiUORHANJsRqyAl8ZI.HcpiDXrYaLkFAUg38iZ849lHS8lO0Hy Password is valid!
Output for 5.5.29
$2y$10$/Rm9l4TB4WXW4xjKdfMnY.tinZjtp5/Y8vjcLvv9/SBM7EFfj03su Password is valid!
Output for 5.5.28
$2y$10$SRD99JIek.Gfi42NTqR6Oui8COf5djmd2DovNUDRJSoTHPt5x475a Password is valid!
Output for 5.5.27
$2y$10$SQQ11MO2Q.bQve4azfR1cuGUuCEdLVFOWcv1.lGi/gBC4X4xetEi2 Password is valid!
Output for 5.5.26
$2y$10$DYricYur7lhScB2GcExvjufR4PhCuW/WkRyX7F86R02PDMSVW4esC Password is valid!
Output for 5.5.25
$2y$10$1aMxt8gK3N6K3lYrYOG9JOkhxVHiSsgpOS/Su5zYRNveOg3iNPklS Password is valid!
Output for 5.5.24
$2y$10$Qo/glvqK0Bb953SHe4AZBerMpilZ65Fka.y/386Bh2HxWaiY.yY8S Password is valid!
Output for 5.5.23
$2y$10$YFYZCPLUO5ph1jLGhvrkmetycYyWaaXZitRYjfi8F1DB2LFdigbHu Password is valid!
Output for 5.5.22
$2y$10$aO92xXWxc9pTexkvQdObIuWLk10f0McO5zHkDgMnAb68AWHFi3jjC Password is valid!
Output for 5.5.21
$2y$10$p3DTOOxJSO/.SIIQABGMj.hN8IluOMGgnbqyUiJ3shSrhQVO7kt2y Password is valid!
Output for 5.5.20
$2y$10$I9ygjAFVz8mjQAzHuRC/T.rv9q1y/sR2jHkL7XxTTgzGDD3EC0XvC Password is valid!
Output for 5.5.19
$2y$10$3Xr.pszi5Kcfd6.x7GrGKuyWU6Hi4wBlE1LpLH2jFqfjrMbVGioP. Password is valid!
Output for 5.5.18
$2y$10$.qhLoFQYJhPClyUUn24j6ORIOA7quUJGso9N4HOY9VaoeW/l6bUKu Password is valid!
Output for 5.5.16
$2y$10$K44ArM3mUu5qyA2Em7pK.O.h8xOwtwQeSC0nJdKHmyPM1QUlgjswC Password is valid!
Output for 5.5.15
$2y$10$JCEbK3J9IHlqH1wSX7Wz.ez5QgBICrA0wXcfXiZzqz9FwghWpV0/e Password is valid!
Output for 5.5.14
$2y$10$nQyI2s.4tCO8xn0vBzZKQ.BrPCgjUQP58l45KeJt/TGGDBVL2tU.m Password is valid!
Output for 5.5.13
$2y$10$51bTaQK5.4FF2Gj/TeqAGeyj45OAcpRWtf6gQERjBhgVntRwe1zrm Password is valid!
Output for 5.5.12
$2y$10$antQP4Ck/cfgjWtjV23YruqJzz9b.y5/4r6Lp8NWon2zfVvjkk8mW Password is valid!
Output for 5.5.11
$2y$10$LX8.QjMnNZFHYMAEVJ2aTOCXswCHjvoNPbVYPUAhsx9xZ2Z/SU1/u Password is valid!
Output for 5.5.10
$2y$10$BMBUAgfvPzyb/.pw8q72wuhnK6T2IoTfzGNZn5vbkjF5Yn5YTgBK6 Password is valid!
Output for 5.5.9
$2y$10$LTA2TgexDVFXEbaHZDvp5O/kNjjv.d9pCIcbkiheG/2OA6rfX5KWy Password is valid!
Output for 5.5.8
$2y$10$PcHFutnXsHuUQCcQvz5Z3uIDfFj1dFWGB7Fsf/K.pRfcOoBH8ulme Password is valid!
Output for 5.5.7
$2y$10$caOE7sLcjU1pvfAtdnj.tetDBzL52JOgtlkl3sSv/S20h4uzmczzW Password is valid!
Output for 5.5.6
$2y$10$FeZS1BeHY35.HKdK9TX6j.FNu063vsWMDimk95El/fPwTJLY/dBhW Password is valid!
Output for 5.5.5
$2y$10$fG.A3KazlhKSH75lH5qSXu7eudSRHe6y8lkpty9N.M/YKG1iO.xxK Password is valid!
Output for 5.5.4
$2y$10$5c4MeI2s3FwFZWz5NFNZLOclA2Is3ggz9z9P.ObROcCRHR9Lckv0i Password is valid!
Output for 5.5.3
$2y$10$cOtBmNt0KWiYb8teaiRwg.kbJjDNv/6HhMancvnO8im.T4o9gQ.I. Password is valid!
Output for 5.5.2
$2y$10$wIuLFSSYyVSdp37dFVyNV.3uUa0nQ7bwBccg64iYpIIDdIFW5vYeO Password is valid!
Output for 5.5.1
$2y$10$hJd81N1gRRV/nqfQpiEpq.xeMcrn0o43ypEthk968PcjeNuOZdCi2 Password is valid!
Output for 5.5.0
$2y$10$v3Q73/38K9f.mXK5xPkVgetYM9Z6ap1jE0JSY62z.s.bPvpMG8DO6 Password is valid!
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/P7O2v on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/P7O2v on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/P7O2v on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/P7O2v on line 4