3v4l.org

run code in 300+ PHP versions simultaneously
<?php function o($f, $g) { return function (...$x) { return $f(...$g(...$x)); }; } $f = function ($a, $b) { return [$a + $b, $a * $b]; }; $g = function (...$n) { return array_map(); };

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.0100.01016.38
8.3.50.0120.00618.30
8.3.40.0110.00718.72
8.3.30.0070.00718.33
8.3.20.0070.00021.89
8.3.10.0050.00323.66
8.3.00.0090.00019.12
8.2.180.0120.00918.29
8.2.170.0110.00422.96
8.2.160.0100.01019.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00020.52
8.2.120.0040.00426.35
8.2.110.0060.00322.24
8.2.100.0040.00717.72
8.2.90.0040.00419.14
8.2.80.0100.00017.97
8.2.70.0060.00317.63
8.2.60.0030.00617.80
8.2.50.0000.00918.10
8.2.40.0080.00420.36
8.2.30.0040.00419.23
8.2.20.0040.00418.14
8.2.10.0030.00518.05
8.2.00.0000.00717.93
8.1.280.0130.00325.92
8.1.270.0040.00420.52
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0040.00423.97
8.1.230.0090.00322.18
8.1.220.0040.00417.79
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0050.00517.23
8.1.180.0000.00818.10
8.1.170.0080.00018.50
8.1.160.0050.00218.76
8.1.150.0040.00418.80
8.1.140.0000.00819.64
8.1.130.0060.00318.85
8.1.120.0030.00317.47
8.1.110.0000.00817.43
8.1.100.0040.00417.46
8.1.90.0030.00517.51
8.1.80.0040.00417.47
8.1.70.0000.00717.44
8.1.60.0000.00717.56
8.1.50.0030.00617.41
8.1.40.0040.00417.47
8.1.30.0040.00417.66
8.1.20.0070.00017.61
8.1.10.0000.00817.48
8.1.00.0040.00417.24
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0070.00018.38
8.0.270.0000.00717.19
8.0.260.0030.00317.20
8.0.250.0070.00016.79
8.0.240.0070.00016.76
8.0.230.0040.00416.74
8.0.220.0030.00316.69
8.0.210.0070.00016.81
8.0.200.0060.00016.96
8.0.190.0000.00816.84
8.0.180.0040.00416.80
8.0.170.0070.00016.98
8.0.160.0040.00416.75
8.0.150.0040.00416.84
8.0.140.0000.00816.86
8.0.130.0030.00313.38
8.0.120.0000.00716.75
8.0.110.0040.00416.77
8.0.100.0030.00516.95
8.0.90.0040.00416.70
8.0.80.0130.00916.79
8.0.70.0030.00516.85
8.0.60.0040.00416.69
8.0.50.0000.00816.83
8.0.30.0130.00617.05
8.0.20.0090.00917.40
8.0.10.0000.00817.04
8.0.00.0130.00316.58
7.4.330.0000.00515.55
7.4.320.0000.00616.56
7.4.300.0030.00316.59
7.4.290.0000.00716.58
7.4.280.0000.00716.43
7.4.270.0000.00716.59
7.4.260.0050.00216.43
7.4.250.0040.00416.46
7.4.240.0080.00016.56
7.4.230.0000.00716.49
7.4.220.0100.01616.61
7.4.210.0030.01016.65
7.4.200.0000.00716.32
7.4.160.0080.00916.67
7.4.150.0070.01017.40
7.4.140.0160.00617.86
7.4.130.0150.00916.51
7.4.120.0130.00916.47
7.4.110.0140.00616.45
7.4.100.0070.01416.25
7.4.90.0110.00616.50
7.4.80.0160.00619.39
7.4.70.0090.00616.58
7.4.60.0060.00916.35
7.4.50.0030.01316.46
7.4.40.0080.00816.42
7.4.30.0030.01316.56
7.4.00.0030.01314.58
7.3.330.0030.00313.08
7.3.320.0050.00013.19
7.3.310.0070.00016.27
7.3.300.0030.00316.25
7.3.290.0040.01116.23
7.3.280.0060.01016.18
7.3.270.0080.00817.40
7.3.260.0090.00816.29
7.3.250.0120.00716.45
7.3.240.0080.00816.31
7.3.230.0160.00716.43
7.3.210.0080.00816.46
7.3.200.0060.00916.35
7.3.190.0040.01416.20
7.3.180.0120.00416.27
7.3.170.0110.00516.18
7.3.160.0100.00716.31
7.2.330.0100.00716.34
7.2.320.0100.00716.70
7.2.310.0100.00716.55
7.2.300.0090.00916.30
7.2.290.0070.01016.30
7.1.70.0000.00716.93
7.1.60.0000.01317.02
7.1.50.1100.01732.53
7.1.40.0700.02032.39
7.1.30.0830.01332.18
7.1.20.0570.00732.50
7.1.10.0630.00714.67
7.1.00.0630.01014.65
7.0.200.0040.00716.64
7.0.190.0730.00014.50
7.0.180.0400.01014.11
7.0.170.0670.00314.20
7.0.160.0400.01314.11
7.0.150.0700.01314.11
7.0.140.0630.00714.28
7.0.130.0630.00714.41
7.0.120.0570.00314.37
7.0.110.0630.01314.27
7.0.100.0770.00714.16
7.0.90.0600.00714.15
7.0.80.0670.01014.26
7.0.70.0700.01314.25
7.0.60.0470.01313.93
7.0.50.0670.00714.20
7.0.40.0530.00314.37
7.0.30.0670.01314.44
7.0.20.0570.01014.39
7.0.10.0530.01014.29
7.0.00.1000.01014.34

preferences:
49.28 ms | 400 KiB | 5 Q