3v4l.org

run code in 300+ PHP versions simultaneously
<?php // username: admin $password = 12345678; // hashed password: $2y$12$$$$$$$$$$$$$$$$$$$$$$.ibwcWrMlgLR7y6B62/Vc8Dc54kecHHe$1$ZQhX9D2d$RexVJ.y2KWpfxMyY0tN9E1 $salt = 'HJsZ4yBWNbGQCw1Yi-7rGBunXym7AEIFatIHhaK_fQgY6I1ecqAEs7eAmJM88Zdn5VpdrKie2CN39~PjqSb3yoPCCzl4q8'; $vsalt = 'S2qXSXQUc-'; function hashing($password ,$salt ,$vsalt){ $check1 = crypt($password.$salt,'$2y$12$'.$vsalt); $check2 = crypt($password.$salt,$vsalt); //password will be: $check1.$check2 return($check1.$check2); } var_dump(hashing(12345678, $salt, $vsalt), hashing('12345678', $salt, $vsalt));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0120.00418.30
8.3.60.0060.00918.18
8.3.50.0090.00721.95
8.3.40.0070.00718.67
8.3.30.0120.00319.01
8.3.20.0050.00320.18
8.3.10.0030.00523.48
8.3.00.0000.00820.77
8.2.180.0130.00616.50
8.2.170.0150.00422.96
8.2.160.0000.01420.35
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0060.00326.16
8.2.120.0040.00420.91
8.2.110.0050.00520.45
8.2.100.0060.00617.91
8.2.90.0000.00919.22
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0050.00317.80
8.2.50.0040.00418.07
8.2.40.0030.00620.00
8.2.30.0070.00318.29
8.2.20.0030.00517.73
8.2.10.0000.00818.13
8.2.00.0040.00417.90
8.1.280.0120.00925.92
8.1.270.0080.00024.16
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0000.01023.86
8.1.230.0060.00620.97
8.1.220.0000.00817.74
8.1.210.0050.00518.77
8.1.200.0090.00017.25
8.1.190.0040.00417.34
8.1.180.0000.00818.10
8.1.170.0030.00518.65
8.1.160.0060.00321.89
8.1.150.0000.00818.62
8.1.140.0030.00517.44
8.1.130.0000.00717.89
8.1.120.0000.00717.42
8.1.110.0040.00417.32
8.1.100.0050.00217.45
8.1.90.0000.00817.36
8.1.80.0000.00817.41
8.1.70.0040.00417.40
8.1.60.0040.00717.64
8.1.50.0050.00317.64
8.1.40.0000.00817.47
8.1.30.0030.00617.73
8.1.20.0000.00817.76
8.1.10.0040.00417.64
8.1.00.0060.00617.35
8.0.300.0030.00518.77
8.0.290.0040.00417.16
8.0.280.0070.00018.57
8.0.270.0000.00717.37
8.0.260.0070.00017.23
8.0.250.0040.00417.04
8.0.240.0000.00717.06
8.0.230.0040.00417.01
8.0.220.0040.00416.96
8.0.210.0040.00416.94
8.0.200.0000.00717.01
8.0.190.0050.00517.02
8.0.180.0040.00416.88
8.0.170.0030.00616.91
8.0.160.0050.00317.08
8.0.150.0040.00416.89
8.0.140.0030.00616.90
8.0.130.0000.00613.41
8.0.120.0030.00516.96
8.0.110.0000.00716.95
8.0.100.0030.00516.80
8.0.90.0000.00817.00
8.0.80.0130.00916.98
8.0.70.0030.00516.84
8.0.60.0000.00816.85
8.0.50.0040.00416.83
8.0.30.0210.00417.01
8.0.20.0140.01117.43
8.0.10.0000.00817.12
8.0.00.0080.01216.78
7.4.330.0000.00615.15
7.4.320.0030.00316.60
7.4.300.0070.00016.66
7.4.290.0040.00416.71
7.4.280.0040.00416.57
7.4.270.0000.00816.63
7.4.260.0000.01116.66
7.4.250.0040.00416.67
7.4.240.0030.00516.57
7.4.230.0040.00416.65
7.4.220.0000.02116.69
7.4.210.0030.01116.63
7.4.200.0020.00516.66
7.4.160.0060.00916.54
7.4.150.0060.01117.40
7.4.140.0140.01017.86
7.4.130.0090.00916.63
7.4.120.0120.00816.62
7.4.110.0150.00616.56
7.4.100.0100.01316.63
7.4.90.0090.00916.48
7.4.80.0080.00819.39
7.4.70.0040.01316.70
7.4.60.0070.01016.56
7.4.50.0100.00016.77
7.4.40.0060.01216.62
7.4.30.0110.01116.64
7.4.00.0070.00714.95
7.3.330.0050.00013.13
7.3.320.0000.00613.29
7.3.310.0040.00416.42
7.3.300.0000.00716.25
7.3.290.0090.00616.32
7.3.280.0080.01316.42
7.3.270.0060.01317.40
7.3.260.0100.01016.62
7.3.250.0100.00816.56
7.3.240.0130.01016.41
7.3.230.0030.01516.39
7.3.210.0070.01016.29
7.3.200.0100.01019.39
7.3.190.0030.01416.52
7.3.180.0000.01716.38
7.3.170.0030.01516.29
7.3.160.0060.00916.43
7.3.120.0030.01314.80
7.2.330.0040.01516.68
7.2.320.0090.00916.82
7.2.310.0030.01416.80
7.2.300.0130.00416.34
7.2.290.0130.01016.44
7.2.80.0270.00416.39
7.2.00.0060.00619.44
7.1.200.0110.00315.89
7.1.100.0060.00618.00
7.1.70.0030.00617.22
7.1.60.0030.01319.70
7.1.50.0100.01416.80
7.1.00.0130.06722.43
7.0.200.0000.01016.86
7.0.140.0030.07322.08
7.0.120.0000.07722.19
7.0.110.0100.06722.04
7.0.100.0030.07022.21
7.0.90.0070.07322.00
7.0.80.0030.06322.22
7.0.70.0130.06322.17
7.0.60.0000.07722.03
7.0.50.0070.06722.11
7.0.40.0000.07722.02
7.0.30.0030.07322.23
7.0.20.0000.07322.06
7.0.10.0030.07722.22
7.0.00.0070.07022.08
5.6.280.0030.07721.18
5.6.260.0070.05721.00
5.6.250.0070.07021.13
5.6.240.0000.07720.82
5.6.230.0070.06320.91
5.6.220.0070.06720.77
5.6.210.0000.07721.05
5.6.200.0030.06021.10
5.6.190.0070.07321.07
5.6.180.0070.06721.01
5.6.170.0030.07021.11
5.6.160.0070.06020.88
5.6.150.0030.07720.83
5.6.140.0030.07721.12
5.6.130.0030.07320.86
5.6.120.0000.08020.84
5.6.110.0030.06021.06
5.6.100.0030.07720.85
5.6.90.0030.06320.86
5.6.80.0070.06720.25
5.6.70.0000.07320.33
5.6.60.0000.07720.25
5.6.50.0100.06320.36
5.6.40.0030.07020.29
5.6.30.0000.07320.22
5.6.20.0000.07720.42
5.6.10.0000.07320.31
5.6.00.0000.07320.37
5.5.380.0030.07017.76
5.5.370.0030.07017.76
5.5.360.0070.07017.75
5.5.350.0070.07017.59
5.5.340.0070.07018.01
5.5.330.0070.06718.19
5.5.320.0030.07018.04
5.5.310.0030.07017.99
5.5.300.0000.07718.32
5.5.290.0030.07018.32
5.5.280.0030.07317.97
5.5.270.0030.07718.19
5.5.260.0070.06718.18
5.5.250.0030.07018.00
5.5.240.0000.06717.54
5.5.230.0030.07317.37
5.5.220.0000.07317.35
5.5.210.0000.07017.36
5.5.200.0000.06717.65
5.5.190.0000.06717.47
5.5.180.0000.07017.34
5.5.160.0000.07017.34
5.5.150.0030.07017.52
5.5.140.0100.06317.34
5.5.130.0030.06317.64
5.5.120.0100.05717.29
5.5.110.0000.07317.55
5.5.100.0000.06717.25
5.5.90.0030.05717.41
5.5.80.0070.05317.14
5.5.70.0000.07317.55
5.5.60.0000.07017.23
5.5.50.0100.04717.40
5.5.40.0030.06317.36
5.5.30.0070.06717.25
5.5.20.0070.06717.35
5.5.10.0030.06017.21
5.5.00.0070.06717.55
5.4.450.0030.08019.74
5.4.440.0030.07319.42
5.4.430.0070.05319.63
5.4.420.0100.06719.39
5.4.410.0070.06319.50
5.4.400.0030.06719.25
5.4.390.0000.07319.07
5.4.380.0000.06019.40
5.4.370.0030.06719.04
5.4.360.0000.07019.24
5.4.350.0100.06019.19
5.4.340.0000.07319.04
5.4.320.0070.05719.04
5.4.310.0000.07319.17
5.4.300.0030.07019.37
5.4.290.0030.06719.15
5.4.280.0030.07019.00
5.4.270.0070.06719.08
5.4.260.0000.07319.00
5.4.250.0030.05719.04
5.4.240.0030.06719.22
5.4.230.0030.06719.37
5.4.220.0070.06319.06
5.4.210.0030.07019.08
5.4.200.0000.07019.23
5.4.190.0030.07019.05
5.4.180.0030.07019.36
5.4.170.0000.07019.19
5.4.160.0000.07019.14
5.4.150.0000.07319.04
5.4.140.0000.06716.46
5.4.130.0070.06016.62
5.4.120.0000.07016.57
5.4.110.0030.06316.54
5.4.100.0070.06016.57
5.4.90.0030.06316.60
5.4.80.0070.06016.30
5.4.70.0030.06316.46
5.4.60.0000.06716.50
5.4.50.0030.06316.52
5.4.40.0030.05716.65
5.4.30.0030.06316.53
5.4.20.0030.05716.58
5.4.10.0000.07016.52
5.4.00.0000.06715.98
5.3.290.0070.06714.86
5.3.280.0030.06714.68
5.3.270.0030.07014.67
5.3.260.0000.07314.71
5.3.250.0000.07014.68
5.3.240.0030.06014.65
5.3.230.0030.05714.63
5.3.220.0100.06014.66
5.3.210.0030.07014.75
5.3.200.0000.07014.71
5.3.190.0070.06314.48
5.3.180.0030.06014.74
5.3.170.0000.07314.70
5.3.160.0000.06714.75
5.3.150.0030.06714.75
5.3.140.0000.06314.49
5.3.130.0000.07014.60
5.3.120.0030.06714.60
5.3.110.0030.07014.59
5.3.100.0030.05714.33
5.3.90.0030.06714.16
5.3.80.0000.06714.10
5.3.70.0000.07014.13
5.3.60.0030.05014.15
5.3.50.0000.05314.15
5.3.40.0000.05314.06
5.3.30.0000.06013.97
5.3.20.0070.06013.71
5.3.10.0030.04313.71
5.3.00.0070.05313.71
5.2.170.0030.05711.66
5.2.160.0000.05311.66
5.2.150.0000.05711.66
5.2.140.0000.05711.66
5.2.130.0030.05011.66
5.2.120.0000.04711.66
5.2.110.0030.05311.66
5.2.100.0030.05311.66
5.2.90.0030.05011.66
5.2.80.0000.04311.66
5.2.70.0030.05011.66
5.2.60.0070.04711.66
5.2.50.0000.04311.66
5.2.40.0000.04311.66
5.2.30.0000.04711.66
5.2.20.0000.04011.66
5.2.10.0000.04011.66
5.2.00.0030.04011.66
5.1.60.0000.04011.66
5.1.50.0000.03011.66
5.1.40.0030.03711.66
5.1.30.0070.03011.66
5.1.20.0000.05011.66
5.1.10.0070.03311.66
5.1.00.0030.03711.66
5.0.50.0000.03011.66
5.0.40.0000.03011.66
5.0.30.0030.04311.66
5.0.20.0000.03311.66
5.0.10.0030.03011.66
5.0.00.0000.04311.66
4.4.90.0000.02311.66
4.4.80.0000.02711.66
4.4.70.0000.02011.66
4.4.60.0030.01711.66
4.4.50.0000.02311.66
4.4.40.0030.02711.66
4.4.30.0000.02711.66
4.4.20.0000.02311.66
4.4.10.0030.02711.66
4.4.00.0000.04711.66
4.3.110.0030.02311.66
4.3.100.0030.02011.66
4.3.90.0030.01711.66
4.3.80.0000.03311.66
4.3.70.0030.02311.66
4.3.60.0000.02311.66
4.3.50.0000.02311.66
4.3.40.0000.03011.66
4.3.30.0030.02011.66
4.3.20.0000.02711.66
4.3.10.0030.02011.66
4.3.00.0070.01711.66

preferences:
49.67 ms | 401 KiB | 5 Q