3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(crypt('foobar'));
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/NUr3J on line 2 string(34) "$1$00icXloV$Yr3lBdZ91ImjSqkvtxuW3."
Output for 7.0.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/NUr3J on line 2 string(34) "$1$i6P8LV7a$1nIoElst357KMDqZOBt4h0"
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/NUr3J on line 2 string(34) "$1$2svMF2bh$.aszX.a4KkH6kDh2SHO5L1"
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/NUr3J on line 2 string(34) "$1$Vi3c4.yI$ULEoz9pTZZ404vKrBrFuP/"
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/NUr3J on line 2 string(34) "$1$2IObzTpA$iZEVHSFid6bJ3NRs.Mezj1"
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/NUr3J on line 2 string(34) "$1$N9npY8VP$hByfLfEJgQen36liTbFL4."
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/NUr3J on line 2 string(34) "$1$wo0tQE8U$.3H/6Ka35mkw19LqH2sZR0"
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/NUr3J on line 2 string(34) "$1$EUDupc3p$PnRJ6A5INPYNQPXfCeBvO/"
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/NUr3J on line 2 string(34) "$1$/OU4149x$dnCLFSg31xNTTyV9.k9Fc/"
Output for hhvm-3.10.0 - 3.12.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/NUr3J on line 2 string(34) "$1$bJoWf/..$e4QR.8MRaUH3xhzEHM6041"
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/NUr3J on line 2 string(34) "$1$G2oEnorC$pKg0ZcY8jG9pJg80QnTo90"
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/NUr3J on line 2 string(34) "$1$zTXWIINa$oFZQ3QZ26IIeVDoj.DL9l0"
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/NUr3J on line 2 string(34) "$1$sIcZAnzW$/0ehFwJnORyShY7Pqt3Ct."
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/NUr3J on line 2 string(34) "$1$St9QHQnQ$9BO.zQRCIMZ5OvlGP5Zph1"
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/NUr3J on line 2 string(34) "$1$Vj4PHcy6$zrqb2RZjKjrxpXYnveLmg/"
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/NUr3J on line 2 string(34) "$1$j8xpB/tU$YbRzmArDVs7Ig8eXdcadt0"
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/NUr3J on line 2 string(34) "$1$iIxblah/$lDjU2XlYYJUVZjDGkOIqm/"
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/NUr3J on line 2 string(34) "$1$SnI7QLCz$oY0vb//9X.OO4U/fDwjez1"
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/NUr3J on line 2 string(34) "$1$IF1UOUWq$QE2ypuMwjeaKVSr44MK6i."
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/NUr3J on line 2 string(34) "$1$nakKpkbz$soxl9ZPi8BV3sZTVHdxzg0"
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/NUr3J on line 2 string(34) "$1$iIPi0CKN$r0m98LSjdsEOGFDxK/N1l0"
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/NUr3J on line 2 string(34) "$1$8RqlyvEX$Hd7aE2HbgFFelDfx5h0ZT."
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/NUr3J on line 2 string(34) "$1$jICfNU4M$fJzTvx3iTACdTkZJXaD8Z."
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/NUr3J on line 2 string(34) "$1$glzO7bBY$MZlawq13XvA1bPFK/ckOB."
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/NUr3J on line 2 string(34) "$1$7YhyDcUy$FSI3ixDT7O0zrzMGtNTqx."
Output for 5.6.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/NUr3J on line 2 string(34) "$1$T7yY6ZGI$3wvHWCHCvjI4xoaJmUEUd0"
Output for 5.5.35
string(34) "$1$GE5GoHX7$5y./4SEUExoQ6m.5NQ75x/"
Output for 5.5.34
string(34) "$1$A7SJ2/Re$nE6Gp6gXzJ0qpXk4ZINGZ1"
Output for 5.5.33
string(34) "$1$jE3Omy2g$nPmVG5Vn5J5Tqd1251pYx0"
Output for 5.5.32
string(34) "$1$cEFudH7H$LSaY6stSuT7Gun7HKQmW8/"
Output for 5.5.31
string(34) "$1$PYyBoyxa$aj9G/KTKu3yukfUlkrO9x0"
Output for 5.5.30
string(34) "$1$ECbfUHUE$ituMcu4yonGUidoyAkwGv."
Output for 5.5.29
string(34) "$1$nUTJ2UmN$2TsZL8AfiZJVu8S7dbrR30"
Output for 5.5.28
string(34) "$1$fqZ2WorS$mRDiJ/ERLuVn6G3O6MZTm0"
Output for 5.5.27
string(34) "$1$JvVuQLqL$AXgYwTCLwJ5qqbVHJCI7Q1"
Output for 5.5.26
string(34) "$1$MZlne1zG$Y6Ov63AsCV/14VQb7QZgF."
Output for 5.5.25
string(34) "$1$Nhtkij5i$tiPjxC5xajQHsPMPmjjqn/"
Output for 5.5.24
string(34) "$1$HI6sWnyr$KlzmuvunbiOq1SNlJGlYF/"
Output for 5.4.45
string(34) "$1$i1R2MkaW$17KaLOKU0sZY41tcwxBGm1"
Output for 5.4.44
string(34) "$1$W2gYhAp0$Gj496mANhIugOT76fBuX2/"
Output for 5.4.43
string(34) "$1$dIhbfg63$6wEtOSBJUwt.QQgSxNxcB/"
Output for 5.4.42
string(34) "$1$BLJ1fL.G$MUpjX11B8reUAgr6CXZxK0"
Output for 5.4.41
string(34) "$1$y4Sxe3.h$vk0C51x7KjzyshvoRbnld."
Output for 5.4.40
string(34) "$1$G/wiVzY4$0u66wgJp58dKrs7G5ay0d."
Output for 5.4.39
string(34) "$1$IOGOwrZZ$rYUmKEjB2HXYZSEVSNMVM."
Output for 5.4.38
string(34) "$1$uqgTx.A.$9Q2oZTmWsyRW.xctptXYG1"
Output for 5.4.37
string(34) "$1$ji4BMZR4$kxak9Wj.fjiIrgTPJOhRj0"
Output for 5.4.36
string(34) "$1$dcwnrvQ4$eeyLC33X60RNPcPw0fzSh."
Output for 5.4.35
string(34) "$1$lXCx8EQm$rJ/GaCz28lSnRYBm3KcR//"
Output for 5.4.34
string(34) "$1$pbVR2apf$yEAjvf5ZSnedY9j5UuZJq1"
Output for 5.4.32
string(34) "$1$bMITeNbi$F6XBGLPb7cal1AcQ2x5jm."
Output for 5.4.31
string(34) "$1$FPZMTt0F$A0vKRQo2yarCwGhW1ijPP/"
Output for 5.4.30
string(34) "$1$EUjOB3zI$jtMryfIAs4B5MY6pWsxpu/"
Output for 5.4.29
string(34) "$1$ocLZ/Sev$zQtanwUTEgQ.hk3newop6/"
Output for 5.4.28
string(34) "$1$9zUQvCDR$KeSvdJ5Ie41pQjn789LPR1"
Output for 5.4.27
string(34) "$1$1r3iWo2.$Jfyuy.gV2yuug/JIvuWvV."
Output for 5.4.26
string(34) "$1$ERaUrUoM$EvPBGSvD.W0dLLXlqZqc/."
Output for 5.4.25
string(34) "$1$FNqhh4c.$HXGrLp52DcwOIdGZKwff8/"
Output for 5.4.24
string(34) "$1$50ae68vP$Mu99o9IghI/V0FoW0OWKU0"
Output for 5.4.23
string(34) "$1$f2fVsYHH$DdAvzFaZNChYbiaObX3ux1"
Output for 5.4.22
string(34) "$1$xHLfnP88$6eoA8EGzDJAJxCB6uTW6.0"
Output for 5.4.21
string(34) "$1$jQ3Ecs.G$1SHWTQiVT.qvi3AONFnv40"
Output for 5.4.20
string(34) "$1$wJ2tI6e7$Z/OpjnUBRqtyh6JCebHo50"
Output for 5.4.19
string(34) "$1$E.W3Npi4$488ljmr9WmEIT/yW/cO03/"
Output for 5.4.18
string(34) "$1$H.akBr1T$RM8n.1VV2/CNxrAgP6UrO/"
Output for 5.4.17
string(34) "$1$2SnQk5BF$bfC0VE4ooD3ItDeWzqDnw1"
Output for 5.4.16
string(34) "$1$xMFYqdk3$o4XIt/RbhAkdDE8eE7kwS1"
Output for 5.4.15
string(34) "$1$M0OXxUWW$kvChjwKx4GLe8rRRXm5Yb."
Output for 5.4.14
string(34) "$1$Tlwf17gu$XDZQv16OnQyVwSLktdFAz1"
Output for 5.4.13
string(34) "$1$qmwI6ceK$79/3mXwhdvuB9ljQELshH."
Output for 5.4.12
string(34) "$1$XW1gDV.i$4qnEhcbJ1CB/OrG4cKpnI1"
Output for 5.4.11
string(34) "$1$vIM1nrIu$ZkgpJDRuoHoum7zICS0xZ0"
Output for 5.4.10
string(34) "$1$.ATa6GHK$B2iuseOkzNbEg1u0Ynvxw/"
Output for 5.4.9
string(34) "$1$ZBlUJoaM$taw.Xmp07jaet1wIBVIqg/"
Output for 5.4.8
string(34) "$1$Dcc25p0d$xGOYYs326ryYe3Eg0Th8S1"
Output for 5.4.7
string(34) "$1$rF7vX6xH$po75at7kFHsfsqrjdlbd5."
Output for 5.4.6
string(34) "$1$11T37bi7$S4TKhO0MdI/Bfx4CH24z30"
Output for 5.4.5
string(34) "$1$dsYUHj9z$6PaBs2Faj/ZByTD3KUSeg."
Output for 5.4.4
string(34) "$1$57xXpGCM$c0zibG27crUnQC/KDe3we1"
Output for 5.4.3
string(34) "$1$svDNMtrp$AerEUCwF6CFzV2tJKR8Mt1"
Output for 5.4.2
string(34) "$1$Z5Za21.k$I8fcZLAzw1Bmk0HMusiPu1"
Output for 5.4.1
string(34) "$1$30j0DuOs$aAsIEWBxRKr8Io/xUfeI61"
Output for 5.4.0
string(34) "$1$ecv6FEDC$H3HimoGl4BI.V9H3hGl.m0"
Output for 5.3.29
string(34) "$1$mDgJPLdy$jn/B2FVHYBr4L/OPIorOv1"
Output for 5.3.28
string(34) "$1$MHpvZFzC$UVhBHXgbJLXCA0gz5OlYS/"
Output for 5.3.27
string(34) "$1$95G5Qw59$rkgSqe22pvoaEQ2o3r35o1"
Output for 5.3.26
string(34) "$1$.PKLejI6$Is5CXQB5Z6aPuwqfy6rF2."
Output for 5.3.25
string(34) "$1$kNeAn/HY$y3l3TKCI7tZo.AEISAzSi."
Output for 5.3.24
string(34) "$1$01Ze62nZ$qWz3fmYXRX8vwCIcf10x3."
Output for 5.3.23
string(34) "$1$hzlfQBgM$bTaszniK/TWcgQEUGXKQN."
Output for 5.3.22
string(34) "$1$31n1tItO$JyIeVgvJc.ZjSGpUs7dc/."
Output for 5.3.21
string(34) "$1$6PUJOH/m$VXAE81rtqSW0XCWRxkVmp."
Output for 5.3.20
string(34) "$1$YHNOaavB$zBy9jD4kk3wPu.nl8twB/0"
Output for 5.3.19
string(34) "$1$QX2rUf8L$gSmjR7aOfTvT44WYDNAk6/"
Output for 5.3.18
string(34) "$1$ua8.DUjl$7Dm5Z0pxQt/3T/xUWwA1E."
Output for 5.3.17
string(34) "$1$3lM3SiOb$HGJdAS36nxvVxNKRywpNJ."
Output for 5.3.16
string(34) "$1$UmUw6DHM$RImesQYgUtyNPB8MX6RB4/"
Output for 5.3.15
string(34) "$1$bo/69DUC$c0UnxM8UCt6/F99/yAwBN/"
Output for 5.3.14
string(34) "$1$bWuhL97W$oMcfDBXgQUBqr4EPBSjdd1"
Output for 5.3.13
string(34) "$1$O/HkNS9o$wIWVD2tLpKMJJdHZLn5Qq/"
Output for 5.3.12
string(34) "$1$ptAkgEkd$8JOxT1BTAFvsNjDh5I3pP0"
Output for 5.3.11
string(34) "$1$.qMJw.L.$H4ZZpn9q.GnRq8.hg78fT0"
Output for 5.3.10
string(34) "$1$adkYgTsP$N01vEOP.n5IL2M6aMcG8D0"
Output for 5.3.9
string(34) "$1$.RsCHoXp$.J2XJJO4iaI/yMfobvlIV/"
Output for 5.3.8
string(34) "$1$sP.h50Y8$H53MfsGJD2bltvNUFbysU0"
Output for 5.3.7
string(11) "$1$PyZ76w1Z"
Output for 5.3.6
string(34) "$1$9Kf.9uPz$TiLdrbtLUQjHn93sl/f4U0"
Output for 5.3.5
string(34) "$1$QF1QNbym$6nv2Wve3Lr2JtVymh3ZMp0"
Output for 5.3.4
string(34) "$1$JG2dc/G6$4kHxXKKn9ssynUmJfeBKm."
Output for 5.3.3
string(34) "$1$q4dTNZn8$Cmw3cpsbY01pVmgDcS5yB."
Output for 5.3.2
string(34) "$1$cq6qgaUt$PBD6TgQBbeJMnHZJC9E180"
Output for 5.3.1
string(34) "$1$R3JD.EQ0$lhoZ.39pSN3rsrk6YMY8z/"
Output for 5.3.0
string(34) "$1$ewzRALbx$oZ3F1Tf16SyP4TTvnbmNu0"
Output for 5.2.17
string(34) "$1$blQ.6I2i$KEEA1sRa.KbVMXrKw12s70"
Output for 5.2.16
string(34) "$1$u71po0UJ$WXCXFvRpWF092ofyeB57P."
Output for 5.2.15
string(34) "$1$LWorg030$hbrWh74TcgA57uwMz9Jfo."
Output for 5.2.14
string(34) "$1$W6rOlqa/$TamsbsukiVpwqu6rT9mUd."
Output for 5.2.13
string(34) "$1$PKIRC/Jn$cmmGDNh/7og9R9uy/GoSS."
Output for 5.2.12
string(34) "$1$VfnaYh/O$E2ivZ7Z4oA7fM9c7ksVIT0"
Output for 5.2.11
string(34) "$1$44dhQQWh$cZlaBfigxfn/WaCcPxX74."
Output for 5.2.10
string(34) "$1$emeN8Mjn$oW4E3rulVeegLAd0vRZah/"
Output for 5.2.9
string(34) "$1$jGD3s.IT$TR1/i0OaJqA1yZOOg711y."
Output for 5.2.8
string(34) "$1$xNe9/X4H$P5hV0W8c4cuEUXZRRoLeC/"
Output for 5.2.7
string(34) "$1$Aozih.uh$Zxy3uVLuesrHXP/zuto/I1"
Output for 5.2.6
string(34) "$1$7oABWlHE$Fcuw3JPcv4hPTkbplnvn80"
Output for 5.2.5
string(34) "$1$MrVvmTVZ$e5nScu2gGW3MXhdANCtEt."
Output for 5.2.4
string(34) "$1$BFHLuxe7$x6eRoI5Xy4C14bQzW46eK/"
Output for 5.2.3
string(34) "$1$iec4G4RK$GGld672JM3yCvzHli7Hf41"
Output for 5.2.2
string(34) "$1$UTYn6cW2$6IQQ4z5.v7cawYOgVUDff."
Output for 5.2.1
string(34) "$1$AL/ecr.Z$23GAIgp4Q870qiRbf3w1s."
Output for 5.2.0
string(34) "$1$TRFutYFh$7CP.59PFAZfPTJ40SvxrQ."
Output for 5.1.6
string(34) "$1$k5uRXVgI$nIwBGtD16bWGVPuyTv4c6."
Output for 5.1.5
string(34) "$1$yNOo0ZLX$ib76VI7Nusc6DFSPPyLGi0"
Output for 5.1.4
string(34) "$1$yQl/31yG$lCsKslb6NK3bIiJvZs4sK0"
Output for 5.1.3
string(34) "$1$qNQxxv2j$rl1DaAwxeSREp2FaDNEci/"
Output for 5.1.2
string(34) "$1$fBRIfZtu$WZF2C05WwAWaNj5W8q95I0"
Output for 5.1.1
string(34) "$1$oDeZHAXb$TqONuJpxoPkhxBOmWjy2w/"
Output for 5.1.0
string(34) "$1$0VXGC13u$9zk9BqVps3pCMR71GZ28m0"
Output for 5.0.5
string(34) "$1$9lEo72Vr$MvUBFd4Z63VI0v2Ak9fQA/"
Output for 5.0.4
string(34) "$1$GzN7NPCm$7euOLVkznjgoicR/L2WtW."
Output for 5.0.3
string(34) "$1$s7qY8fRv$wNpesjc9qcPOifwVe7QSM1"
Output for 5.0.2
string(34) "$1$Jm9kgUc/$rzRpD.OTYnzK5OA3fvtPN."
Output for 5.0.1
string(34) "$1$RAZ4Pg/U$8Dks4Q0B00VqyxtwzwyRp0"
Output for 5.0.0
string(34) "$1$GUFGmFzp$A/RV2JJo81HmJJpwW.P94/"
Output for 4.4.9
string(34) "$1$c9z4SeF4$/BRaq13Y5qfhPjtp9AIVZ1"
Output for 4.4.8
string(34) "$1$cP.Go9ch$wj4tDRcwX6E5kNX1Ojg2p1"
Output for 4.4.7
string(34) "$1$C3oyIlu5$CdV/mE79/Q7grvaJLUsf8."
Output for 4.4.6
string(34) "$1$/objAgDq$embtUuSogqoxTe.GhHXmA."
Output for 4.4.5
string(34) "$1$PrNFGnRn$wvwCm2B2HNC2qK6b927vN1"
Output for 4.4.4
string(34) "$1$qWa0.x4h$uuHWho5C1aJDSZXopbV8F0"
Output for 4.4.3
string(34) "$1$JfH0lh08$qiUQe7YVIlWEU0mfUzUPP/"
Output for 4.4.2
string(34) "$1$9Ewh/dQY$V/sep20EiOfApqTF2pKRf/"
Output for 4.4.1
string(34) "$1$moymFi9j$yZHflsrsBcLspuOlT3SHo/"
Output for 4.4.0
string(34) "$1$Co8r6qBg$DwUop3z8LXJ9JPoGBJe7A0"
Output for 4.3.11
string(34) "$1$7KUWxEdG$oXbeYpuVoDr8OiSOEeRu60"
Output for 4.3.10
string(34) "$1$g/edaldL$LHw8L8idgRjfiEssVjHiI0"
Output for 4.3.9
string(34) "$1$BmFnky01$dhx5I/UUHeY8ErLtXK0MJ0"
Output for 4.3.8
string(34) "$1$nGsvpYNY$rgo/nPH.vxPN/Xn5Nz3FG."
Output for 4.3.7
string(34) "$1$jiME0kqj$GGGqqD11RYVmKMHqOq5DB."
Output for 4.3.6
string(34) "$1$jEjkgTfw$pzpwK6.D5RsIehLyHYVXD/"
Output for 4.3.5
string(34) "$1$YW4KlxyV$u0KLABajvk9Fubv9UeQB31"
Output for 4.3.4
string(34) "$1$srQMh0xg$2Ja89YuRVsi44GoIDo8tT/"
Output for 4.3.3
string(34) "$1$TDP3eD5T$wpjBsfhIaNFY5ZQBtVx1z1"
Output for 4.3.2
string(34) "$1$CSrLFbOx$/yzfPIRaRcnzSjjoEw7VN."
Output for 4.3.1
string(34) "$1$eQF6MMQz$PYl6A9wNjB1vSYvBgGi1.1"
Output for 4.3.0
string(34) "$1$FNneMKzn$rBPxYMzP8ytKdjcSbH45Q1"