3v4l.org

run code in 300+ PHP versions simultaneously
<?php $setting = '$2y$04$'; $salt = '1234567890123456789012'; // SAME SALT FOR ALL PASSWORDS, OMG, DON'T $passwd1 = str_repeat('a', 257); $passwd2 = 'a'; $hash1 = crypt($passwd1, $setting . $salt); $hash2 = crypt($passwd2, $setting . $salt); echo ($hash1 === $hash2 ? 'same' : 'unique');

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.60.0110.01518.08
8.3.50.0150.00720.96
8.3.40.0110.01418.71
8.3.30.0070.01018.82
8.3.20.0090.00020.34
8.3.10.0060.00321.84
8.3.00.0030.00722.39
8.2.180.0090.00916.32
8.2.170.0140.00322.96
8.2.160.0070.01620.43
8.2.150.0100.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00526.16
8.2.120.0060.00319.76
8.2.110.0030.00722.04
8.2.100.0120.00319.31
8.2.90.0030.00619.21
8.2.80.0030.00617.97
8.2.70.0000.01117.38
8.2.60.0000.01117.93
8.2.50.0040.00718.07
8.2.40.0000.01018.22
8.2.30.0070.00318.05
8.2.20.0000.00917.64
8.2.10.0060.00317.65
8.2.00.0070.00717.71
8.1.280.0070.01125.92
8.1.270.0030.00623.99
8.1.260.0050.00526.35
8.1.250.0060.00328.09
8.1.240.0040.00723.62
8.1.230.0070.00719.09
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0000.01117.13
8.1.190.0070.00317.51
8.1.180.0030.00618.64
8.1.170.0000.01018.59
8.1.160.0030.00722.20
8.1.150.0000.00918.57
8.1.140.0000.00917.25
8.1.130.0040.00417.73
8.1.120.0000.01017.28
8.1.110.0000.01017.38
8.1.100.0030.00717.41
8.1.90.0090.00017.35
8.1.80.0000.00917.43
8.1.70.0070.00317.41
8.1.60.0000.01017.49
8.1.50.0100.00017.47
8.1.40.0060.00317.46
8.1.30.0000.00917.57
8.1.20.0000.01017.63
8.1.10.0060.00317.39
8.1.00.0100.00317.41
8.0.300.0050.00518.77
8.0.290.0000.00917.05
8.0.280.0030.00618.38
8.0.270.0060.00317.17
8.0.260.0000.00916.73
8.0.250.0060.00316.95
8.0.240.0030.00716.82
8.0.230.0060.00316.93
8.0.220.0040.00416.94
8.0.210.0090.00016.89
8.0.200.0000.00916.91
8.0.190.0000.01217.01
8.0.180.0030.00616.88
8.0.170.0030.00716.90
8.0.160.0040.00416.78
8.0.150.0000.01016.74
8.0.140.0040.00816.75
8.0.130.0040.00413.35
8.0.120.0030.00716.84
8.0.110.0030.00916.95
8.0.100.0060.00316.68
8.0.90.0030.00616.93
8.0.80.0160.00916.77
8.0.70.0000.01016.74
8.0.60.0030.00616.75
8.0.50.0000.00916.82
8.0.30.0070.01517.15
8.0.20.0070.01417.40
8.0.10.0000.00916.76
8.0.00.0070.01516.74
7.4.330.0030.00615.00
7.4.320.0040.00416.41
7.4.300.0030.00516.50
7.4.290.0000.00916.55
7.4.280.0030.00616.59
7.4.270.0000.00916.51
7.4.260.0030.00716.54
7.4.250.0030.00616.44
7.4.240.0030.00616.65
7.4.230.0000.00916.39
7.4.220.0030.01916.60
7.4.210.0060.01116.59
7.4.200.0030.00716.39
7.4.190.0000.00916.36
7.4.160.0030.01616.33
7.4.150.0110.01017.40
7.4.140.0100.01017.86
7.4.130.0070.01216.43
7.4.120.0080.01316.48
7.4.110.0160.00816.39
7.4.100.0150.00616.55
7.4.90.0060.01416.58
7.4.80.0110.01419.39
7.4.70.0100.01016.41
7.4.60.0100.01316.60
7.4.50.0030.00316.51
7.4.40.0090.00722.77
7.4.30.0110.01016.55
7.4.00.0070.01415.05
7.3.330.0040.00413.23
7.3.320.0070.00013.18
7.3.310.0030.00616.31
7.3.300.0030.00616.24
7.3.290.0070.01116.28
7.3.280.0110.00916.26
7.3.270.0060.01317.40
7.3.260.0080.01116.43
7.3.250.0130.01116.31
7.3.240.0130.00916.48
7.3.230.0070.01416.39
7.3.210.0080.01216.57
7.3.200.0080.01219.39
7.3.190.0130.01316.54
7.3.180.0100.01016.29
7.3.170.0150.00316.27
7.3.160.0040.01516.54
7.3.120.0070.01214.89
7.3.110.0070.01114.81
7.3.100.0080.00814.69
7.3.90.0030.01114.81
7.3.80.0030.01014.64
7.3.70.0050.01114.71
7.3.60.0060.01114.68
7.3.50.0040.01314.79
7.3.40.0040.01214.61
7.3.30.0050.01014.80
7.3.20.0050.01416.72
7.3.10.0050.01316.74
7.3.00.0130.00516.34
7.2.330.0130.00716.55
7.2.320.0110.01116.65
7.2.310.0100.01716.68
7.2.300.0160.00916.51
7.2.290.0100.01016.49
7.2.250.0070.01314.71
7.2.240.0080.01415.18
7.2.230.0050.00915.02
7.2.220.0060.01114.92
7.2.210.0000.01414.86
7.2.200.0060.00814.95
7.2.190.0120.00514.93
7.2.180.0050.00914.98
7.2.170.0040.00914.82
7.2.160.0070.01015.02
7.2.150.0190.00616.80
7.2.140.0060.00916.82
7.2.130.0130.00316.72
7.2.120.0070.01016.63
7.2.110.0100.00616.87
7.2.100.0040.00816.93
7.2.90.0030.01316.86
7.2.80.0070.01017.01
7.2.70.0150.00316.98
7.2.60.0130.00316.93
7.2.50.0030.01016.71
7.2.40.0000.01117.01
7.2.30.0060.01016.73
7.2.20.0070.00716.41
7.2.10.0110.00416.58
7.2.00.0070.00818.29
7.1.330.0070.00715.72
7.1.320.0070.00615.77
7.1.310.0040.01115.88
7.1.300.0040.01015.90
7.1.290.0080.00815.86
7.1.280.0060.00815.85
7.1.270.0030.01015.83
7.1.260.0060.01015.95
7.1.250.0030.01515.82
7.1.100.0180.00717.49
7.1.70.0030.00717.03
7.1.60.0160.01319.82
7.1.50.0070.02016.90
7.1.00.0000.05722.40
7.0.200.0070.00416.75
7.0.140.0030.07722.01
7.0.60.0000.04319.93
7.0.50.0070.04717.66
7.0.40.0030.04320.22
7.0.30.0200.04720.04
7.0.20.0330.07020.09
7.0.10.0270.06020.09
7.0.00.0170.05720.21
5.6.280.0130.06721.10
5.6.210.0070.08020.50
5.6.200.0100.06018.12
5.6.190.0030.04720.57
5.6.180.3230.04720.39
5.6.170.0370.07720.52
5.6.160.0070.06020.61
5.6.150.0100.03718.11
5.6.140.0030.08718.20
5.6.130.0030.04718.07
5.6.120.0100.06720.99
5.6.110.0170.07721.02
5.6.100.0070.08720.96
5.6.90.0070.08321.09
5.6.80.0130.04320.40
5.6.70.0070.03720.36
5.5.350.0230.03720.30
5.5.340.0100.07317.97
5.5.330.0100.04320.07
5.5.320.0170.06020.29
5.5.310.0200.07720.26
5.5.300.0130.04317.95
5.5.290.0070.07018.00
5.5.280.0100.04320.73
5.5.270.0170.07320.93
5.5.260.0100.08320.86
5.5.250.0100.07320.69
5.5.240.0030.09020.33
5.4.450.0870.07719.52
5.4.440.0900.05019.13
5.4.430.0100.06019.61
5.4.420.0400.06019.62
5.4.410.0870.06719.45
5.4.400.1200.07718.78
5.4.390.1030.06018.59
5.4.380.0330.06718.69
5.4.370.0130.06318.65
5.4.360.0230.04718.71
5.4.350.0090.03911.97
5.4.340.0090.03711.97
5.4.320.0040.04012.45
5.4.310.0070.04012.45
5.4.300.0070.03912.45
5.4.290.0040.04212.45
5.4.280.0040.04012.35
5.4.270.0040.04112.34
5.4.260.0050.04012.34
5.4.250.0130.05018.88
5.4.240.0170.04718.64
5.4.230.0130.05318.92
5.4.220.0030.06018.72
5.4.210.0070.05718.89
5.4.200.0000.06018.88
5.4.190.0030.06018.93
5.4.180.0070.05718.82
5.4.170.0070.06018.66
5.4.160.0100.05018.86
5.4.150.0070.06318.97
5.4.140.0100.05316.53
5.4.130.0070.05316.52
5.4.120.0130.04716.23
5.4.110.0070.05316.48
5.4.100.0070.05316.29
5.4.90.0030.07016.38
5.4.80.0070.07016.23
5.4.70.0130.04316.37
5.4.60.0100.04716.22
5.4.50.0070.05016.21
5.4.40.0130.04716.28
5.4.30.0000.05716.47
5.4.20.0130.04716.17
5.4.10.0030.05316.31
5.4.00.0070.05015.93
5.3.290.0080.03912.80
5.3.280.0070.05714.51
5.3.270.0130.05014.61
5.3.260.0170.06314.65
5.3.250.0030.05714.46
5.3.240.0100.05714.60
5.3.230.0030.05714.47
5.3.220.0130.04714.71
5.3.210.0100.07014.42
5.3.200.0130.04714.34
5.3.190.0130.04714.57
5.3.180.0130.04714.40
5.3.170.0000.05714.56
5.3.160.0030.05314.65
5.3.150.0030.05714.48
5.3.140.0200.04014.39
5.3.130.0030.05714.41
5.3.120.0100.05714.41
5.3.110.0000.06314.55
5.3.100.0070.05314.03
5.3.90.0000.06014.03
5.3.80.0130.04713.96
5.3.70.0070.05314.03
5.3.60.0070.05314.05
5.3.50.0030.05013.89
5.3.40.0070.06314.10
5.3.30.0000.05313.74
5.3.20.0000.05713.63
5.3.10.0100.04313.72
5.3.00.0100.05013.72
5.2.170.0100.03311.10
5.2.160.0030.04011.09
5.2.150.0000.04310.83
5.2.140.0030.04011.07
5.2.130.0030.04011.09
5.2.120.0070.03711.06
5.2.110.0070.04011.11
5.2.100.0100.03311.05
5.2.90.0070.04011.09
5.2.80.0130.04710.94
5.2.70.0170.04711.05
5.2.60.0100.04011.09
5.2.50.0030.06010.96
5.2.40.0030.06010.82
5.2.30.0030.04711.00
5.2.20.0070.03711.07
5.2.10.0000.04310.94
5.2.00.0070.03710.63
5.1.60.0030.03310.00
5.1.50.0000.0379.99
5.1.40.0030.03310.00
5.1.30.0000.05710.05
5.1.20.0100.03010.18
5.1.10.0000.0379.99
5.1.00.0070.05010.11
5.0.50.0070.0278.56
5.0.40.0000.0308.25
5.0.30.0000.0478.27
5.0.20.0070.0238.15
5.0.10.0100.0208.11
5.0.00.0130.0408.23
4.4.90.0070.0306.54
4.4.80.0000.0236.54
4.4.70.0030.0206.54
4.4.60.0070.0176.54
4.4.50.0030.0306.54
4.4.40.0030.0376.54
4.4.30.0030.0206.54
4.4.20.0030.0206.54
4.4.10.0030.0206.54
4.4.00.0000.0476.54
4.3.110.0030.0206.54
4.3.100.0030.0206.54
4.3.90.0070.0176.56
4.3.80.0030.0336.56
4.3.70.0000.0236.56
4.3.60.0000.0206.56
4.3.50.0030.0306.56
4.3.40.0100.0306.56
4.3.30.0000.0276.56
4.3.20.0000.0236.56
4.3.10.0000.0236.56
4.3.00.0070.0178.38

preferences:
68.22 ms | 401 KiB | 5 Q