3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pass='test'; $hash = crypt ($pass); echo $hash."\n"; if (password_needs_rehash($hash, PASSWORD_DEFAULT)){ $hash = password_hash($pass, PASSWORD_DEFAULT); } echo password_verify($pass, $hash)."\n";
based on aCtgs
Output for 7.2.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$pyIkLw1e$UR7XVm166JJUjrZiKCnxC/ 1
Output for 7.1.10
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$F1U8NIzT$9V0k7/aYqrUYlYM39wCU6. 1
Output for 7.1.7
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$Ns4xC8fp$cC3Se4nz2Hx5u/Xixxths0 1
Output for 7.1.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$RrJOzYwh$1PfQ.Og/KMtCj2oSja3W/1 1
Output for 7.1.5
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$2KEmHyuU$ib7qJXJZfxI1fH0/WNFUm. 1
Output for 7.1.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$a.iIXSue$BuuRhKKjwnAlLpebKVPw01 1
Output for 7.0.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$StGQnEnC$X4YRU9sGolEu/tk3F.cNO/ 1
Output for 7.0.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$MH85qJKs$7AOODQ3JCIHo8TNoP5wD10 1
Output for 7.0.5
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$orH5rGP2$Q4akYUdSQ3YWMMHeDw/yC0 1
Output for 7.0.4
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$YZbKCzdT$hEJBECjT96dtQWUMHyhiM/ 1
Output for 7.0.3
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$X2QySPmY$ICsoJHhR/FsnnZdKuhioY0 1
Output for 7.0.2
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$0yksGERu$itNLPgBk.jKZjti53jC/h/ 1
Output for 7.0.1
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$vLA0bxNn$3xgVzm8qDxBc0yuAbOaeD/ 1
Output for 7.0.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$2KIj3r5z$014Sq/Cfb1Z3ERSoPoFz1/ 1
Output for 5.6.28
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$2RS9JGNy$6eg1MJAPWsDpkyzNWv2l90 1
Output for 5.6.21
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$GiKsrj9s$IBDIoCN01d.no4NtmXBr40 1
Output for 5.6.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$7fcHNw18$g8Nrmer4hD3U2fdtjPFiD/ 1
Output for 5.6.19
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$xarmjYH8$LiGM/OIBpmCQPHIlpu7eT1 1
Output for 5.6.18
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$DnOtY8aR$a1iajUrbCD5ZyhxLtxJxE/ 1
Output for 5.6.17
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$qJk4MWiF$1/e02H7MdK6LfjvHu3iPu0 1
Output for 5.6.16
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$p1Djjxim$Aqg2t.fk6O99gSfmCGrit/ 1
Output for 5.6.15
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$eOT84CWD$iS14AasFmrdcwiMJhJvLA1 1
Output for 5.6.14
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$D3cu2uao$59MCifr9lNeqIj3rE7VNb. 1
Output for 5.6.13
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$eKaV7r/W$Jj9TADpl4AJeENkHy1Nee/ 1
Output for 5.6.12
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$Xm.9SGYB$k1gAUuR76Fvi2/X5QKD8k0 1
Output for 5.6.11
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$LvR2Ua9c$h3Tnf9Mum7cs.7FumS.e2. 1
Output for 5.6.10
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$eG9.eb/r$x8.0uLfLJ8m14nms03B4L1 1
Output for 5.6.9
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$ahxqYYq0$pGnXbhTTDKAQwQ/3nXsiT. 1
Output for 5.6.8
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/507TL on line 3 $1$rmwvFEcS$YJk9XUFabnE/BVSQ6zjGF1 1
Output for 5.5.35
$1$vYateD4U$Bjmo.L2qJdLi8KCoBvVHE0 1
Output for 5.5.34
$1$Z.JbbbFD$6P6N2VfVbrP.Eaox9utw70 1
Output for 5.5.33
$1$Ns3wKc8J$uuOFTFarK43eOa5VlCoSg0 1
Output for 5.5.32
$1$83zzhlOr$xCqpaNna0wPcbtm6OiutM/ 1
Output for 5.5.31
$1$Hk2ra6FO$/u4YxBkO420OZcIg9fBr9. 1
Output for 5.5.30
$1$MxAll66l$lHsEXlkcjE2v7ZRW2MphG1 1
Output for 5.5.29
$1$sqk7qhVk$0pMOtMfpuj3uUjv/tgmLj0 1
Output for 5.5.28
$1$DknjiPp0$SEf/CNfxdmMX9AjEVAXWc. 1
Output for 5.5.27
$1$R/QbRzPy$lvcIcdzzA8N7Q5hCaz0Z5. 1
Output for 5.5.26
$1$NNPqV7Ph$bSSyaYiwshC1GsP1QK8Yy1 1
Output for 5.5.25
$1$c.MFyH8g$56D6zvCxw8tf1p/1axiME0 1
Output for 5.5.24
$1$m8bvaIEm$GFFlffrZ/B7nYH5c7IMy40 1
Output for 5.4.45
$1$olvZLkI1$FM4cpmv3YG65u9KqOhhQ80 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.44
$1$/nM8IXSp$piKnq.dTRcLhLQAoJptcT1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.43
$1$CJdFxG5F$dZBL5Btk3CLbwn9pBLuk4. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.42
$1$OeJe.nbc$NKJhS0aWp4mOoCwyKdxvs/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.41
$1$qzYmcNvW$yxZDBVOCxN0ilxrwthjKO/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.40
$1$WXeFWOO2$j6zCnAXs4dm.JwoQ9fGPA0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.39
$1$J8wrNvbW$Ncf48eHdYOaGUvEXX5WO2/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.38
$1$MMvDhrK5$RIUzUnlJBjJPw0537bBw1/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.37
$1$9fsuCdPb$tJ/ypg75C9modgCwec.BE1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.36
$1$6PJ7qWyb$R/fzKaKabgF6FQgOWx8gp. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.35
$1$UHYBiRae$XFIA654/GQnbHdkpIS3cg. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.34
$1$WIE9IMly$kehRHbQ3usG0W/6iYI7oA. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.32
$1$B7i0o2c2$eVMxz5Txs/WlmN1F7n3Os/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.31
$1$UhnRmit9$aoSVSh.blopnVgZWrFzXN1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.30
$1$Ig11ue8R$yr0FXL0dQcP6iyRaw1COw1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.29
$1$.Xo2OKPW$pDU1ON1qrIZZAZGq7mKN61 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.28
$1$XSJ1tKvI$qyUvxP2KtHA53gS9UbXWq. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.27
$1$66qQ67j7$8xktXB4u2DzcaYJSif6af/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.26
$1$tW.P9Gv.$Pg6qeJuFOu7wP5bkUEjOj/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.25
$1$3KlvswrU$.0cjAycWuHTd11c7x9bH4/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.24
$1$bzHjqPmj$aDLnsw9vSJaMmsQsRC5Iu0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.23
$1$2WVijcCm$UDbvfDbXH6Lzmtz./snrh. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.22
$1$eb4abxCp$e8RSZ5lHbD2.0H8EVLGLJ/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.21
$1$QneC0SjX$CsfXmn8oAIOa3c1fnDVou0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.20
$1$TxOcIGwt$bkQmfAVhyaJMV1I9GAXP2. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.19
$1$bC.y1pRk$Z5DZDnsTNlrQQQViLCUGw. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.18
$1$vgtNNzeX$HQUrFzN8A.PljAqxzf49I0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.17
$1$0PGxkvOW$Vgbgwa7dDcXBjDCRcO5Ic. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.16
$1$Y9b8Tbsr$rfDkaochjql/mTxFZ/z92. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.15
$1$3WYe6e5i$8phAzxLDyAbsp/Lp7Bw89. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.14
$1$lr2JTrTO$YGwBgd4Tz0OHKNMjGZP9F0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.13
$1$K3/dMdB4$4J9x2SEV/urUpi8sTeULH0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.12
$1$UJnfaTj2$jRAPqvBQUj5a.HYMOck4R0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.11
$1$JGeQ2zJE$xSP60wf8ytrZbX3V8fAgs0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.10
$1$h7XsHa84$0PvCRv66XZhGYhEzaI1hx1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.9
$1$vIiBxfbi$oAQ74QHHfFcAA503BMjXl0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.8
$1$RW8ldytE$ZjlRxu125liwg85A8/3X5/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.7
$1$ElRYb/Je$yZlbHiYMrXTW1PahA8DI31 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.6
$1$J1Gc1JNH$4J1i66qzcWq1cP2NBVvV.. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.5
$1$POfGMC4t$Qu6LV3QdJBb9uhmMMm1.I. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.4
$1$XVJwB4UT$icrpRW3YGFCOYr2/P9aI.1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.3
$1$B2u8CnSg$Y82bTWcnmXlkwh.ULIhR21 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.2
$1$jQ0FQf5L$gNSGwpRcDwzb84j6cO/pC/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.1
$1$pG42nB1g$.eTXoyhEFuJxAMVZf.2Zh0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.4.0
$1$8LWUFRVB$59z8RaT6SBqQX2MlFpS121 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.29
$1$zXMh7lxQ$gsJrKuRAl8f/a/8b9mCZB. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.28
$1$qeoCgkln$.WJkJUPzJP83zZMmwD.8W. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.27
$1$bObW10QK$CHtA6nu75BUIA0m2xCBGm/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.26
$1$OoqCI3Xn$evUjMgV6FVDL/Vput/GWt0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.25
$1$ZkRh3IMv$luDrXGJVIMI7QVfI6KsxK. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.24
$1$I/cMCeQ6$g.6WG3.6N.Y7RQsmeUxnn1 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.23
$1$ePuQ050E$V//B8m2DrgdgyTthkrXTw/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.22
$1$P7z0YkK9$B4A4wdbLpQ2/3CZkXBadO. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.21
$1$TPdnZmsT$geYCWQ3FgpbDkj79H89DJ. Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.20
$1$LDnmwM1R$KpYzkNT3vOkyuCNGC4ChS0 Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.
Output for 5.3.19
$1$uQC731Yz$uL9IhGyEH7BtHFp5abBIk/ Fatal error: Call to undefined function password_needs_rehash() in /in/507TL on line 5
Process exited with code 255.