3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_map(static fn($el) => $el, [1, 2]);

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.00618.27
8.3.60.0090.00918.56
8.3.50.0090.00617.98
8.3.40.0120.00618.60
8.3.30.0140.00418.52
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.180.0100.00725.92
8.2.170.0150.00018.56
8.2.160.0090.00922.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00021.06
8.2.110.0060.00319.25
8.2.100.0090.00317.78
8.2.90.0040.00419.23
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0040.00417.55
8.2.50.0000.00818.05
8.2.40.0040.00417.97
8.2.30.0050.00218.08
8.2.20.0030.00618.04
8.2.10.0000.00719.11
8.2.00.0040.00419.22
8.1.280.0170.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00022.75
8.1.230.0000.01019.48
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0030.00617.00
8.1.180.0080.00018.10
8.1.170.0040.00420.31
8.1.160.0040.00818.85
8.1.150.0040.00418.75
8.1.140.0040.00420.64
8.1.130.0000.00720.20
8.1.120.0000.00817.29
8.1.110.0030.00517.32
8.1.100.0060.00317.39
8.1.90.0050.00217.37
8.1.80.0040.00417.37
8.1.70.0000.00917.33
8.1.60.0040.00417.44
8.1.50.0000.00817.34
8.1.40.0050.00317.43
8.1.30.0040.00417.59
8.1.20.0000.00817.42
8.1.10.0000.00817.45
8.1.00.0030.00517.15
8.0.300.0070.00318.77
8.0.290.0080.00016.58
8.0.280.0070.00018.56
8.0.270.0030.00317.85
8.0.260.0060.00018.52
8.0.250.0000.00716.71
8.0.240.0000.00616.83
8.0.230.0000.00716.79
8.0.220.0030.00516.67
8.0.210.0080.00016.72
8.0.200.0030.00316.85
8.0.190.0000.00716.76
8.0.180.0000.00716.88
8.0.170.0000.00816.86
8.0.160.0060.00316.77
8.0.150.0040.00416.68
8.0.140.0000.00716.74
8.0.130.0060.00013.33
8.0.120.0030.00516.74
8.0.110.0070.00016.78
8.0.100.0070.00016.66
8.0.90.0020.00516.59
8.0.80.0070.01216.82
8.0.70.0050.00216.59
8.0.60.0000.00716.93
8.0.50.0040.00416.88
8.0.30.0210.00816.70
8.0.20.0240.01316.74
8.0.10.0200.01016.87
8.0.00.0160.00816.84
7.4.330.0040.00015.55
7.4.320.0030.00316.41
7.4.300.0040.00716.42
7.4.290.0000.00816.41
7.4.280.0040.00416.32
7.4.270.0100.00016.44
7.4.260.0030.00313.27
7.4.250.0030.00316.50
7.4.240.0040.00316.45
7.4.230.0070.00016.63
7.4.220.0040.00416.34
7.4.210.0080.00616.38
7.4.200.0040.00416.52
7.4.160.0120.01116.36
7.4.150.0170.01516.24
7.4.140.0230.00616.38
7.4.130.0210.00816.21
7.4.120.0240.00316.28
7.4.110.0190.01016.30
7.4.100.0180.00716.33
7.4.90.0140.01016.32
7.4.80.0160.01316.09
7.4.70.0220.00416.32
7.4.60.0250.00716.12
7.4.50.0220.00316.09
7.4.40.0080.01216.21
7.4.30.0170.00315.81
7.4.20.0090.00916.22
7.4.10.0190.01215.82
7.4.00.0130.00916.11
7.3.330.0060.00316.12
7.3.320.0000.00512.96
7.3.310.0030.00316.21
7.3.300.0030.00316.17
7.3.290.0130.00416.15
7.3.280.0120.01016.08
7.3.270.0100.01016.11
7.3.260.0160.00816.05
7.3.250.0160.00516.08
7.3.240.0180.00816.05
7.3.230.0170.00315.96
7.3.220.0160.00816.01
7.3.210.0090.01416.01
7.3.200.0110.00815.95
7.3.190.0170.00416.02
7.3.180.0150.00916.00
7.3.170.0200.00516.03
7.3.160.0250.00716.02
7.3.150.0200.00815.91
7.3.140.0110.01116.11
7.3.130.0220.00916.00
7.3.120.0230.00816.05
7.3.110.0130.01315.92
7.3.100.0110.01416.05
7.3.90.0100.01016.30
7.3.80.0140.00615.98
7.3.70.0100.01416.07
7.3.60.0220.00616.14
7.3.50.0150.00515.94
7.3.40.0220.00716.07
7.3.30.0070.01416.02
7.3.20.0000.01616.20
7.3.10.0090.01316.09
7.3.00.0240.00316.07

preferences:
52.26 ms | 401 KiB | 5 Q