3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(1, 1000); var_dump(array_change_keys($a, function ($k, $v) { return md5($v); }));

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.4.20.0160.00417.66
8.4.10.0100.01017.89
8.3.150.0060.01317.18
8.3.140.0080.00017.00
8.3.130.0030.00718.21
8.3.120.0000.00918.92
8.3.110.0030.00720.94
8.3.100.0030.00616.70
8.3.90.0080.00018.63
8.3.80.0000.01018.43
8.3.70.0090.00918.39
8.3.60.0130.00718.31
8.3.50.0150.00521.92
8.3.40.0090.00618.67
8.3.30.0080.00818.67
8.3.20.0050.00219.18
8.3.10.0040.00421.90
8.3.00.0040.00420.80
8.2.260.0090.00916.32
8.2.250.0070.00318.49
8.2.240.0100.00017.04
8.2.230.0150.00022.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0080.00418.41
8.2.190.0120.00418.27
8.2.180.0100.00316.88
8.2.170.0070.00722.96
8.2.160.0130.00619.15
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0140.00420.43
8.2.120.0070.00026.35
8.2.110.0070.00322.11
8.2.100.0040.00717.91
8.2.90.0080.00019.29
8.2.80.0080.00017.97
8.2.70.0090.00017.63
8.2.60.0060.00317.90
8.2.50.0040.00418.10
8.2.40.0040.00720.61
8.2.30.0050.00219.20
8.2.20.0040.00417.56
8.2.10.0030.00517.95
8.2.00.0040.00417.93
8.1.310.0110.00418.36
8.1.300.0000.01018.22
8.1.290.0070.00318.88
8.1.280.0120.00325.92
8.1.270.0070.01123.88
8.1.260.0060.00328.09
8.1.250.0080.00028.09
8.1.240.0030.00622.05
8.1.230.0100.00317.45
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00918.50
8.1.160.0030.00819.08
8.1.150.0040.00418.86
8.1.140.0000.00719.46
8.1.130.0030.00317.63
8.1.120.0070.00017.42
8.1.110.0080.00017.44
8.1.100.0030.00517.32
8.1.90.0060.00317.45
8.1.80.0030.00317.34
8.1.70.0040.00417.44
8.1.60.0040.00417.55
8.1.50.0080.00017.55
8.1.40.0030.00517.53
8.1.30.0000.00817.68
8.1.20.0050.00317.74
8.1.10.0040.00417.60
8.1.00.0030.00617.55
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.31
8.0.270.0070.00016.88
8.0.260.0000.00917.26
8.0.250.0030.00316.96
8.0.240.0030.00316.96
8.0.230.0070.00016.96
8.0.220.0000.00716.81
8.0.210.0000.00716.91
8.0.200.0040.00417.01
8.0.190.0070.00016.87
8.0.180.0040.00416.82
8.0.170.0030.00516.90
8.0.160.0070.00016.88
8.0.150.0070.00016.73
8.0.140.0040.00416.80
8.0.130.0050.00013.32
8.0.120.0040.00416.90
8.0.110.0050.00216.80
8.0.100.0000.00716.84
8.0.90.0040.00416.83
8.0.80.0150.00316.85
8.0.70.0040.00416.69
8.0.60.0050.00316.93
8.0.50.0000.00816.72
8.0.30.0100.01017.08
8.0.20.0110.00717.40
8.0.10.0000.00716.89
8.0.00.0100.00716.81
7.4.330.0050.00016.77
7.4.320.0000.00616.48
7.4.300.0000.00616.48
7.4.290.0060.00016.57
7.4.280.0040.00416.62
7.4.270.0000.00716.67
7.4.260.0080.00016.60
7.4.250.0000.00716.48
7.4.240.0000.00816.61
7.4.230.0000.00716.60
7.4.220.0120.01216.51
7.4.210.0080.01016.58
7.4.200.0030.00316.64
7.4.160.0030.01216.61
7.4.150.0000.01717.40
7.4.140.0070.01017.86
7.4.130.0080.00916.63
7.4.120.0110.00516.40
7.4.110.0040.01416.60
7.4.100.0030.01416.53
7.4.90.0130.01016.55
7.4.80.0070.01619.39
7.4.70.0070.00916.78
7.4.60.0000.01516.52
7.4.50.0040.01116.63
7.4.40.0140.00416.71
7.4.30.0030.01716.55
7.4.00.0030.01015.26
7.3.330.0060.00013.11
7.3.320.0030.00313.28
7.3.310.0030.00316.27
7.3.300.0030.00316.37
7.3.290.0030.00316.15
7.3.280.0080.00716.29
7.3.270.0130.00317.40
7.3.260.0120.00616.32
7.3.250.0120.00716.31
7.3.240.0120.01016.41
7.3.230.0080.00816.39
7.3.210.0110.00716.40
7.3.200.0060.00916.32
7.3.190.0130.00716.33
7.3.180.0200.00016.25
7.3.170.0090.01116.62
7.3.160.0090.01016.31
7.3.10.0070.01016.22
7.3.00.0160.00316.32
7.2.330.0100.00716.43
7.2.320.0120.00916.69
7.2.310.0120.00616.59
7.2.300.0060.01216.58
7.2.290.0060.01616.45
7.2.130.0160.00316.50
7.2.120.0130.00716.35
7.2.110.0080.01216.38
7.2.100.0100.00716.23
7.2.90.0140.00316.30
7.2.80.0110.01116.56
7.2.70.0190.00616.46
7.2.60.0090.01016.63
7.2.50.0100.00716.50
7.2.40.0090.00616.10
7.2.30.0090.00916.10
7.2.20.0100.00716.65
7.2.10.0140.01016.45
7.2.00.0080.01018.01
7.1.250.0100.00614.98
7.1.200.0070.00715.40
7.1.100.0000.01118.10
7.1.70.0070.00017.13
7.1.60.0120.01219.47
7.1.50.0120.00916.81
7.1.00.0070.07022.40
7.0.200.0060.00614.91
7.0.70.1370.06319.93
7.0.60.1200.06019.94
7.0.50.1570.07020.43
7.0.40.1570.07320.37
7.0.30.1100.07320.23
7.0.20.1500.05320.26
7.0.10.1300.05720.19
7.0.00.1200.05720.22
5.6.280.0070.06720.90
5.6.220.1200.06020.52
5.6.210.1300.05020.78
5.6.200.1370.06321.15
5.6.190.1070.06321.03
5.6.180.1070.06021.03
5.6.170.0830.06721.16
5.6.160.1070.05021.21
5.6.150.0970.03721.16
5.6.140.0930.06321.21
5.6.130.1470.06321.20
5.6.120.0770.06321.20
5.6.110.0800.07321.08
5.6.100.0670.06721.03
5.6.90.1330.06321.14
5.6.80.1070.07020.40
5.6.70.0870.06320.54
5.6.60.0930.06020.57
5.6.50.1000.05320.46
5.6.40.0830.04320.51
5.6.30.0530.06720.53
5.6.20.0730.05720.62
5.6.10.0870.06020.52
5.6.00.0830.05020.55
5.5.360.0930.08320.43
5.5.350.1400.07020.46
5.5.340.1730.05020.93
5.5.330.1330.06720.96
5.5.320.0930.06020.79
5.5.310.0900.05720.85
5.5.300.1270.04320.91
5.5.290.1770.07720.73
5.5.280.0530.06720.91
5.5.270.0700.06320.81
5.5.260.1230.07320.78
5.5.250.1700.08020.66
5.5.240.0930.06720.22
5.5.230.0930.05020.22
5.5.220.1030.05020.23
5.5.210.0830.05720.23
5.5.200.0800.04720.14
5.5.190.0870.07020.21
5.5.180.1030.06320.19
5.5.160.0830.04720.34
5.5.150.0630.05020.19
5.5.140.0670.04720.28
5.5.130.0270.05720.37
5.5.120.0370.05320.21
5.5.110.0770.05720.19
5.5.100.0530.07020.21
5.5.90.0770.04720.11
5.5.80.0670.05320.21
5.5.70.0770.05320.06
5.5.60.0770.04720.20
5.5.50.0600.05320.05
5.5.40.0470.06320.06
5.5.30.0700.06020.14
5.5.20.0800.05020.16
5.5.10.0670.04720.13
5.5.00.0930.05020.14

preferences:
76.13 ms | 403 KiB | 5 Q