3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $caratteri_disponibili ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"; $lunghezza= 50; $code = ""; for($i = 0; $i<$lunghezza; $i++){ $code = $code.substr($caratteri_disponibili,rand(0,strlen($caratteri_disponibili)-1),1); } $hashed_password = crypt('mypassword',$code); $input = "mypassword"; if (crypt($input, $hashed_password) == $hashed_password) { echo "Password verified!"; } var_dump($hashed_password, crypt($input, $hashed_password));
Output for 7.0.0, 7.1.0
Password verified!string(13) "Dq2VUAa1c6z16" string(13) "Dq2VUAa1c6z16"
Output for 7.0.14
Password verified!string(13) "bC/KDNaNCz0wM" string(13) "bC/KDNaNCz0wM"
Output for 7.0.6
Password verified!string(13) "Ts8AB/CnJXdjA" string(13) "Ts8AB/CnJXdjA"
Output for 7.0.5
Password verified!string(13) "qw4mGwV0UmZRw" string(13) "qw4mGwV0UmZRw"
Output for 7.0.4
Password verified!string(13) "jc94srBRXLjXw" string(13) "jc94srBRXLjXw"
Output for 7.0.3
Password verified!string(13) "bGEWX3QJxcpCc" string(13) "bGEWX3QJxcpCc"
Output for 7.0.2
Password verified!string(13) "RfvbnR5Lh72/E" string(13) "RfvbnR5Lh72/E"
Output for 7.0.1
Password verified!string(13) "l1EB09r/TfA1o" string(13) "l1EB09r/TfA1o"
Output for 5.6.28
Password verified!string(13) "EetqowK1mEWfA" string(13) "EetqowK1mEWfA"
Output for 5.6.21
Password verified!string(13) "p2KmdYZD0pJUI" string(13) "p2KmdYZD0pJUI"
Output for 5.0.3, 5.6.20
Password verified!string(13) "djgAu9AkZkcQw" string(13) "djgAu9AkZkcQw"
Output for 5.6.19
Password verified!string(13) "13uqq2w9vzL62" string(13) "13uqq2w9vzL62"
Output for 5.6.18
Password verified!string(13) "JEZENqnernbs." string(13) "JEZENqnernbs."
Output for 5.6.17
Password verified!string(13) "CqV0AE7HcSWKk" string(13) "CqV0AE7HcSWKk"
Output for 5.6.16
Password verified!string(13) "FFr9F8XopEcbs" string(13) "FFr9F8XopEcbs"
Output for 5.6.15
Password verified!string(13) "tk38bv3hzi3GA" string(13) "tk38bv3hzi3GA"
Output for 5.6.14
Password verified!string(13) "TIjdAG8f.EX6E" string(13) "TIjdAG8f.EX6E"
Output for 5.6.13
Password verified!string(13) "0li90m0c4P25k" string(13) "0li90m0c4P25k"
Output for 5.6.12
Password verified!string(13) "Tj6DVzS91IYoM" string(13) "Tj6DVzS91IYoM"
Output for 5.6.11
Password verified!string(13) "Ma09P8owzxeFc" string(13) "Ma09P8owzxeFc"
Output for 5.6.10
Password verified!string(13) "B5QG8bGRYz4Z." string(13) "B5QG8bGRYz4Z."
Output for 5.6.9
Password verified!string(13) "tlZcWNfTVNs8." string(13) "tlZcWNfTVNs8."
Output for 5.6.8
Password verified!string(13) "6HleHtJSsL.QE" string(13) "6HleHtJSsL.QE"
Output for 5.5.35
Password verified!string(13) "hvy/mPyyiMlaU" string(13) "hvy/mPyyiMlaU"
Output for 5.5.34
Password verified!string(13) "7D7xBWR2cZv9k" string(13) "7D7xBWR2cZv9k"
Output for 5.5.33
Password verified!string(13) "utsS.DSimwcx." string(13) "utsS.DSimwcx."
Output for 5.5.32
Password verified!string(13) "bKA8jOxufjB12" string(13) "bKA8jOxufjB12"
Output for 5.5.31
Password verified!string(13) "8CfxuNPDW0AbE" string(13) "8CfxuNPDW0AbE"
Output for 5.5.30
Password verified!string(13) "FYVlRGz7zNCFU" string(13) "FYVlRGz7zNCFU"
Output for 5.5.29
Password verified!string(13) "pflEpDcJVZ19E" string(13) "pflEpDcJVZ19E"
Output for 5.5.28
Password verified!string(13) "TdTaj8X3nNzsc" string(13) "TdTaj8X3nNzsc"
Output for 5.5.27
Password verified!string(13) "dohoE6kXtRWA2" string(13) "dohoE6kXtRWA2"
Output for 5.5.26
Password verified!string(13) "oI22Fmht4/5ho" string(13) "oI22Fmht4/5ho"
Output for 5.5.25
Password verified!string(13) "Yj4yBHCBiPpK6" string(13) "Yj4yBHCBiPpK6"
Output for 5.3.7, 5.5.24
Password verified!string(13) "j0Y5Q9i2UCUBU" string(13) "j0Y5Q9i2UCUBU"
Output for 5.4.45
Password verified!string(13) "oyxZKouSSBY4w" string(13) "oyxZKouSSBY4w"
Output for 5.4.44
Password verified!string(13) "wMsXH9pI1X7pw" string(13) "wMsXH9pI1X7pw"
Output for 5.4.43
Password verified!string(13) "INuQvbrWOKIL2" string(13) "INuQvbrWOKIL2"
Output for 5.4.42
Password verified!string(13) "UhOftuLURZsh2" string(13) "UhOftuLURZsh2"
Output for 5.4.41
Password verified!string(13) "d0Gr2JxaT4BX." string(13) "d0Gr2JxaT4BX."
Output for 5.4.40
Password verified!string(13) "NnWtFUcTi3E9M" string(13) "NnWtFUcTi3E9M"
Output for 5.4.39
Password verified!string(13) "9xLH7ITbgOeMQ" string(13) "9xLH7ITbgOeMQ"
Output for 5.4.38
Password verified!string(13) "iQ.UY00SiYbXI" string(13) "iQ.UY00SiYbXI"
Output for 5.4.37
Password verified!string(13) "RqGd.6PiHcpUY" string(13) "RqGd.6PiHcpUY"
Output for 5.4.36
Password verified!string(13) "vNHpTMZOalXwA" string(13) "vNHpTMZOalXwA"
Output for 5.4.35
Password verified!string(13) "HrkefCKPT4WZ2" string(13) "HrkefCKPT4WZ2"
Output for 5.4.34
Password verified!string(13) "YkU0p.Kqth.N6" string(13) "YkU0p.Kqth.N6"
Output for 5.4.32
Password verified!string(13) "QD4JC0TqZgE2g" string(13) "QD4JC0TqZgE2g"
Output for 5.4.31
Password verified!string(13) "KA8AScwbZumTA" string(13) "KA8AScwbZumTA"
Output for 5.4.30
Password verified!string(13) "0s19OBO6G99jA" string(13) "0s19OBO6G99jA"
Output for 5.4.29
Password verified!string(13) "cTlptQr6qU0ig" string(13) "cTlptQr6qU0ig"
Output for 5.4.28
Password verified!string(13) "QPiSbRyFVR9nU" string(13) "QPiSbRyFVR9nU"
Output for 5.4.27
Password verified!string(13) "TahIRho6Sh6m." string(13) "TahIRho6Sh6m."
Output for 5.4.26
Password verified!string(13) "tHgkt3bfovqAU" string(13) "tHgkt3bfovqAU"
Output for 5.4.25
Password verified!string(13) "uIxuXpST8ZgsM" string(13) "uIxuXpST8ZgsM"
Output for 5.4.24
Password verified!string(13) "VQv2aMigXGMkU" string(13) "VQv2aMigXGMkU"
Output for 5.4.23
Password verified!string(13) "6dsC2fmTavXac" string(13) "6dsC2fmTavXac"
Output for 5.4.22
Password verified!string(13) "5b5l3IgdOXnZg" string(13) "5b5l3IgdOXnZg"
Output for 5.4.21
Password verified!string(13) "6AznrKrOmv5pE" string(13) "6AznrKrOmv5pE"
Output for 5.4.20
Password verified!string(13) "N6Fvtp1cUARA6" string(13) "N6Fvtp1cUARA6"
Output for 5.4.19
Password verified!string(13) "Lh/7CHi6s5WyI" string(13) "Lh/7CHi6s5WyI"
Output for 5.4.18
Password verified!string(13) "ptzOyucHe7EJM" string(13) "ptzOyucHe7EJM"
Output for 5.4.17
Password verified!string(13) "L1ppRlB0G5tBU" string(13) "L1ppRlB0G5tBU"
Output for 5.4.16
Password verified!string(13) "VfFY1KdCZLNFI" string(13) "VfFY1KdCZLNFI"
Output for 5.4.15
Password verified!string(13) "EasgrNgrZEJHA" string(13) "EasgrNgrZEJHA"
Output for 5.4.14
Password verified!string(13) "Xg.gm82.e4vLs" string(13) "Xg.gm82.e4vLs"
Output for 5.4.13
Password verified!string(13) "czDIjBNG6v79w" string(13) "czDIjBNG6v79w"
Output for 5.4.12
Password verified!string(13) "dCDVwjp86unJI" string(13) "dCDVwjp86unJI"
Output for 5.4.11
Password verified!string(13) "LLJGF4oB/MEHc" string(13) "LLJGF4oB/MEHc"
Output for 5.4.10
Password verified!string(13) "Mds7tixM2aE8A" string(13) "Mds7tixM2aE8A"
Output for 5.4.9
Password verified!string(13) "Hk7NaWM97c7N." string(13) "Hk7NaWM97c7N."
Output for 5.4.8
Password verified!string(13) "KB3wpJ7ewlrC." string(13) "KB3wpJ7ewlrC."
Output for 5.4.7
Password verified!string(13) "sJhi1WMo3pOEI" string(13) "sJhi1WMo3pOEI"
Output for 5.4.6
Password verified!string(13) "MwYX9OjLDDIp." string(13) "MwYX9OjLDDIp."
Output for 5.4.5
Password verified!string(13) "XSXcU1dYZ9HXg" string(13) "XSXcU1dYZ9HXg"
Output for 5.4.4
Password verified!string(13) "hUrGzUCxJ6OnM" string(13) "hUrGzUCxJ6OnM"
Output for 5.4.3
Password verified!string(13) "rQh/OAFcQDDcw" string(13) "rQh/OAFcQDDcw"
Output for 5.4.2
Password verified!string(13) "0ZoaHiLH/7Rbk" string(13) "0ZoaHiLH/7Rbk"
Output for 5.4.1
Password verified!string(13) "AlSGHh50tozYs" string(13) "AlSGHh50tozYs"
Output for 5.4.0
Password verified!string(13) "f6V685WpDCUTA" string(13) "f6V685WpDCUTA"
Output for 5.3.29
Password verified!string(13) "Fz0DVj0nvV5ZY" string(13) "Fz0DVj0nvV5ZY"
Output for 5.3.28
Password verified!string(13) "jipAEsNBaEDTc" string(13) "jipAEsNBaEDTc"
Output for 5.3.27
Password verified!string(13) "J4bcTIKWm3gwk" string(13) "J4bcTIKWm3gwk"
Output for 5.3.26
Password verified!string(13) "Ws5mSRR3/eJgA" string(13) "Ws5mSRR3/eJgA"
Output for 5.3.25
Password verified!string(13) "I7j59f5j0HgGg" string(13) "I7j59f5j0HgGg"
Output for 5.3.24
Password verified!string(13) "O4QLhbdFAhNfM" string(13) "O4QLhbdFAhNfM"
Output for 5.3.23
Password verified!string(13) "MKMBHpE63PU.2" string(13) "MKMBHpE63PU.2"
Output for 5.3.22
Password verified!string(13) "wDd41na0USxks" string(13) "wDd41na0USxks"
Output for 5.3.21
Password verified!string(13) "EFXVwLvuvp/zo" string(13) "EFXVwLvuvp/zo"
Output for 5.3.20
Password verified!string(13) "0WEwC.AeTdxoE" string(13) "0WEwC.AeTdxoE"
Output for 5.3.19
Password verified!string(13) "fWx5IDHxcz90Q" string(13) "fWx5IDHxcz90Q"
Output for 5.3.18
Password verified!string(13) "AP3fhcTL36HcY" string(13) "AP3fhcTL36HcY"
Output for 5.3.17
Password verified!string(13) "USTrfV2EseW/." string(13) "USTrfV2EseW/."
Output for 5.3.16
Password verified!string(13) "jC4GX158.SGq6" string(13) "jC4GX158.SGq6"
Output for 5.3.15
Password verified!string(13) "0aFfEaIgk4RFo" string(13) "0aFfEaIgk4RFo"
Output for 5.3.14
Password verified!string(13) "o8JAjm0DG1WG2" string(13) "o8JAjm0DG1WG2"
Output for 5.3.13
Password verified!string(13) "1QeWZWB.rf07A" string(13) "1QeWZWB.rf07A"
Output for 4.3.9, 5.3.12
Password verified!string(13) "Bo96w5yMXYKsc" string(13) "Bo96w5yMXYKsc"
Output for 5.3.11
Password verified!string(13) "O8YSb/rV/WASU" string(13) "O8YSb/rV/WASU"
Output for 5.3.10
Password verified!string(13) "uuEZWcpxEynLo" string(13) "uuEZWcpxEynLo"
Output for 5.3.9
Password verified!string(13) "kvPf1oQK2yEeA" string(13) "kvPf1oQK2yEeA"
Output for 5.3.8
Password verified!string(13) "yS21lkbTfAegM" string(13) "yS21lkbTfAegM"
Output for 5.3.6
Password verified!string(13) "JsKruGSCzHYoQ" string(13) "JsKruGSCzHYoQ"
Output for 5.3.5
Password verified!string(13) "Enb9JFCdJhXjc" string(13) "Enb9JFCdJhXjc"
Output for 5.3.4
Password verified!string(13) "k569ErGTCg/Ec" string(13) "k569ErGTCg/Ec"
Output for 5.3.3
Password verified!string(13) "syQBraySxCBqo" string(13) "syQBraySxCBqo"
Output for 5.3.2
Password verified!string(13) "h3o7T/SLsKR2." string(13) "h3o7T/SLsKR2."
Output for 5.3.1
Password verified!string(13) "nlxgqqQveram6" string(13) "nlxgqqQveram6"
Output for 5.3.0
Password verified!string(13) "zzGnYpclv7LAA" string(13) "zzGnYpclv7LAA"
Output for 5.2.17
Password verified!string(13) "gDnOh4V7TMDFU" string(13) "gDnOh4V7TMDFU"
Output for 5.2.16
Password verified!string(13) "CD1qoV3Y7P.QE" string(13) "CD1qoV3Y7P.QE"
Output for 5.2.15
Password verified!string(13) "E19nitdOGuq4Y" string(13) "E19nitdOGuq4Y"
Output for 5.2.14
Password verified!string(13) "t2NLf05pJMDNM" string(13) "t2NLf05pJMDNM"
Output for 5.2.13
Password verified!string(13) "ZPlmCxLMchU8k" string(13) "ZPlmCxLMchU8k"
Output for 5.2.12
Password verified!string(13) "NL.opyZrUmbvI" string(13) "NL.opyZrUmbvI"
Output for 5.2.11
Password verified!string(13) "YQprUf8MdDjv2" string(13) "YQprUf8MdDjv2"
Output for 5.2.10
Password verified!string(13) "MxaIrasnFcp0U" string(13) "MxaIrasnFcp0U"
Output for 5.2.9
Password verified!string(13) "LJts1qCO9yQXE" string(13) "LJts1qCO9yQXE"
Output for 5.2.8
Password verified!string(13) "ciI6efifoRl8I" string(13) "ciI6efifoRl8I"
Output for 5.2.7
Password verified!string(13) "ZkYZIZilUIu7E" string(13) "ZkYZIZilUIu7E"
Output for 5.2.6
Password verified!string(13) "NB7cRRs8cT4I2" string(13) "NB7cRRs8cT4I2"
Output for 5.2.5
Password verified!string(13) "OBa4h9X3v9g7w" string(13) "OBa4h9X3v9g7w"
Output for 5.2.4
Password verified!string(13) "cB4QyQIUe6/Lc" string(13) "cB4QyQIUe6/Lc"
Output for 5.2.3
Password verified!string(13) "9oZHWhu4LX2dc" string(13) "9oZHWhu4LX2dc"
Output for 5.2.2
Password verified!string(13) "OnvhFDl6WcB0c" string(13) "OnvhFDl6WcB0c"
Output for 5.2.1
Password verified!string(13) "YutvNMQly8ol2" string(13) "YutvNMQly8ol2"
Output for 5.2.0
Password verified!string(13) "3uUg/S1Dp9Rxw" string(13) "3uUg/S1Dp9Rxw"
Output for 5.1.6
Password verified!string(13) "qRjUrjiu05crY" string(13) "qRjUrjiu05crY"
Output for 5.1.5
Password verified!string(13) "0dAS2UTPfN12s" string(13) "0dAS2UTPfN12s"
Output for 5.1.4
Password verified!string(13) "5VTiuKHY0GAYY" string(13) "5VTiuKHY0GAYY"
Output for 5.1.3
Password verified!string(13) "sXHjNxaDKhXe6" string(13) "sXHjNxaDKhXe6"
Output for 5.1.2
Password verified!string(13) "Rlv2rP1IzOmOg" string(13) "Rlv2rP1IzOmOg"
Output for 5.1.1
Password verified!string(13) "p6wxeOw4V7Yzo" string(13) "p6wxeOw4V7Yzo"
Output for 5.1.0
Password verified!string(13) "BXwQcrcehjDGg" string(13) "BXwQcrcehjDGg"
Output for 5.0.5
Password verified!string(13) "jxivDA.kHcJU2" string(13) "jxivDA.kHcJU2"
Output for 5.0.4
Password verified!string(13) "9eiE.ast8wGnA" string(13) "9eiE.ast8wGnA"
Output for 5.0.2
Password verified!string(13) "rLq0tqJ8jKAdM" string(13) "rLq0tqJ8jKAdM"
Output for 5.0.1
Password verified!string(13) "7WgaCKCyEQups" string(13) "7WgaCKCyEQups"
Output for 5.0.0
Password verified!string(13) "5onKXMzpxF1S." string(13) "5onKXMzpxF1S."
Output for 4.4.9
Password verified!string(13) "BOuY0UQRb4SRg" string(13) "BOuY0UQRb4SRg"
Output for 4.4.8
Password verified!string(13) "GrVKv9fbbopQc" string(13) "GrVKv9fbbopQc"
Output for 4.4.7
Password verified!string(13) "W3cF7SElktVxE" string(13) "W3cF7SElktVxE"
Output for 4.4.6
Password verified!string(13) "dhfJbgyAD/77c" string(13) "dhfJbgyAD/77c"
Output for 4.4.5
Password verified!string(13) "YPAc3t7qINNHw" string(13) "YPAc3t7qINNHw"
Output for 4.4.4
Password verified!string(13) "tGKlVrQUyWS.s" string(13) "tGKlVrQUyWS.s"
Output for 4.4.3
Password verified!string(13) "8mPTpTqcGodIY" string(13) "8mPTpTqcGodIY"
Output for 4.4.2
Password verified!string(13) "ouu5TKFe6vkMM" string(13) "ouu5TKFe6vkMM"
Output for 4.4.1
Password verified!string(13) "szf.8neA8vY0c" string(13) "szf.8neA8vY0c"
Output for 4.4.0
Password verified!string(13) "YtYkBz4oDHzc." string(13) "YtYkBz4oDHzc."
Output for 4.3.11
Password verified!string(13) "xPAjc85xmoqWc" string(13) "xPAjc85xmoqWc"
Output for 4.3.10
Password verified!string(13) "iOiV2RbRwl66Y" string(13) "iOiV2RbRwl66Y"
Output for 4.3.8
Password verified!string(13) "p1ldT4W5S5yjg" string(13) "p1ldT4W5S5yjg"
Output for 4.3.7
Password verified!string(13) "R8CiBIoA96laU" string(13) "R8CiBIoA96laU"
Output for 4.3.6
Password verified!string(13) "RpDzYIORCE36M" string(13) "RpDzYIORCE36M"
Output for 4.3.5
Password verified!string(13) "hdGlamOnR08Ww" string(13) "hdGlamOnR08Ww"
Output for 4.3.4
Password verified!string(13) "rd9IdYIZ7/wx." string(13) "rd9IdYIZ7/wx."
Output for 4.3.3
Password verified!string(13) "AYKC0nbLhHgHo" string(13) "AYKC0nbLhHgHo"
Output for 4.3.2
Password verified!string(13) "xzTVuM8eBhoJo" string(13) "xzTVuM8eBhoJo"
Output for 4.3.1
Password verified!string(13) "j7Yn9ObTXaWGg" string(13) "j7Yn9ObTXaWGg"
Output for 4.3.0
Password verified!string(13) "rUtvYkp8NiaQY" string(13) "rUtvYkp8NiaQY"