3v4l.org

run code in 300+ PHP versions simultaneously
<?php $func = function($arg1, $arg2, $arg3) { return $arg1 + $arg2 + $arg3; }; $addendi = [200, 300]; var_dump(call_user_func_array($func, array(100, array_slice($addendi)))); ?>

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.0140.00018.56
8.3.50.0110.00621.92
8.3.40.0110.00418.88
8.3.30.0110.00419.09
8.3.20.0070.00020.13
8.3.10.0040.00421.98
8.3.00.0040.00422.52
8.2.180.0090.01316.75
8.2.170.0070.01422.96
8.2.160.0130.00320.27
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0080.00019.61
8.2.110.0060.00322.03
8.2.100.0050.00518.03
8.2.90.0050.00319.02
8.2.80.0030.00517.97
8.2.70.0070.00517.25
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0050.00318.34
8.2.30.0000.00818.11
8.2.20.0040.00417.70
8.2.10.0000.00819.61
8.2.00.0000.00717.68
8.1.280.0110.00425.92
8.1.270.0030.00522.19
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00423.81
8.1.230.0080.00419.14
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0040.00417.53
8.1.180.0000.00818.10
8.1.170.0030.00518.65
8.1.160.0070.00022.01
8.1.150.0050.00218.63
8.1.140.0000.00817.50
8.1.130.0070.00017.88
8.1.120.0040.00417.40
8.1.110.0050.00317.31
8.1.100.0000.00717.50
8.1.90.0000.00717.46
8.1.80.0000.00717.35
8.1.70.0000.00717.48
8.1.60.0040.00417.60
8.1.50.0070.00017.57
8.1.40.0000.00717.48
8.1.30.0040.00417.53
8.1.20.0000.00717.65
8.1.10.0030.00517.56
8.1.00.0030.00517.49
8.0.300.0040.00418.77
8.0.290.0050.00216.93
8.0.280.0030.00318.29
8.0.270.0030.00317.21
8.0.260.0030.00316.94
8.0.250.0030.00616.99
8.0.240.0040.00416.95
8.0.230.0030.00317.01
8.0.220.0070.00016.99
8.0.210.0000.00716.94
8.0.200.0040.00417.04
8.0.190.0070.00017.00
8.0.180.0070.00316.93
8.0.170.0060.00317.00
8.0.160.0040.00416.96
8.0.150.0030.00516.78
8.0.140.0040.00416.88
8.0.130.0030.00313.34
8.0.120.0070.00016.93
8.0.110.0040.00416.85
8.0.100.0020.00516.96
8.0.90.0050.00317.06
8.0.80.0100.01416.83
8.0.70.0040.00416.76
8.0.60.0020.00516.82
8.0.50.0050.00316.90
8.0.30.0080.01417.04
8.0.20.0170.00817.40
8.0.10.0050.00517.14
8.0.00.0050.01216.90
7.4.330.0000.00515.08
7.4.320.0000.00616.56
7.4.300.0030.00316.54
7.4.290.0000.00716.57
7.4.280.0000.00816.58
7.4.270.0000.00616.50
7.4.260.0040.00416.40
7.4.250.0050.00316.48
7.4.240.0030.00316.53
7.4.230.0070.00016.59
7.4.220.0130.00416.53
7.4.210.0070.00716.52
7.4.200.0040.00416.49
7.4.190.0040.00416.68
7.4.160.0160.00616.45
7.4.150.0100.00917.40
7.4.140.0090.00917.86
7.4.130.0050.01216.53
7.4.120.0090.00816.63
7.4.110.0030.01316.58
7.4.100.0100.00716.56
7.4.90.0030.01516.64
7.4.80.0130.00619.39
7.4.70.0040.01216.53
7.4.60.0120.00616.43
7.4.50.0080.00316.61
7.4.40.0090.00622.77
7.4.30.0140.00616.46
7.4.00.0070.01114.86
7.3.330.0040.00413.37
7.3.320.0050.00013.32
7.3.310.0030.00316.19
7.3.300.0000.00716.21
7.3.290.0090.00616.30
7.3.280.0100.00616.28
7.3.270.0090.00917.40
7.3.260.0070.01016.27
7.3.250.0110.01116.26
7.3.240.0100.00716.47
7.3.230.0110.00716.39
7.3.210.0120.00416.49
7.3.200.0130.00319.39
7.3.190.0140.00716.43
7.3.180.0070.01016.43
7.3.170.0060.00916.27
7.3.160.0070.01016.59
7.3.120.0000.01114.84
7.2.330.0070.01116.38
7.2.320.0070.01016.36
7.2.310.0170.00016.70
7.2.300.0100.00716.70
7.2.290.0070.01016.64
7.2.60.0060.01016.86
7.2.00.0040.01119.25
7.1.200.0210.00315.43
7.1.100.0060.00618.22
7.1.70.0100.00316.84
7.1.60.0150.01119.82
7.1.50.0130.01016.72
7.1.00.0100.06722.54
7.0.200.0070.00016.74
7.0.140.0000.07722.11
7.0.60.0070.06719.86
7.0.50.0100.07017.94
7.0.40.0100.05320.09
7.0.30.0430.07720.19
7.0.20.0270.07720.09
7.0.10.0070.05320.26
7.0.00.0030.04720.32
5.6.280.0030.07321.13
5.6.210.0130.07320.53
5.6.200.0030.08018.19
5.6.190.0030.09020.50
5.6.180.0300.03320.61
5.6.170.0330.06320.54
5.6.160.0100.05320.55
5.6.150.0070.06018.19
5.6.140.0100.07718.12
5.6.130.0070.03718.22
5.6.120.0130.03321.02
5.6.110.0070.07320.98
5.6.100.0030.09021.14
5.6.90.0130.06320.98
5.6.80.0170.06320.41
5.5.350.3830.03720.36
5.5.340.0070.08317.98
5.5.330.0130.03720.37
5.5.320.0370.04020.27
5.5.310.0370.07320.35
5.5.300.0130.05017.92
5.5.290.0130.07317.94
5.5.280.0030.04020.77
5.5.270.0170.06320.76
5.5.260.0170.07720.87
5.5.250.0030.06320.62
5.5.240.0230.07320.11
5.4.450.0600.04319.48
5.4.440.0200.06319.54
5.4.430.0200.06719.49
5.4.420.0130.05019.53
5.4.410.0170.05018.72
5.4.400.0100.07718.81
5.4.390.0130.05318.41
5.4.380.0100.05318.80
5.4.370.0270.05018.53
5.4.360.0130.05318.63
5.4.350.0230.04718.58
5.4.340.0230.05018.75
5.4.320.0070.04312.50
5.4.310.0060.04912.50
5.4.300.0080.03912.50
5.4.290.0070.04012.50
5.4.280.0140.02812.39
5.4.270.0070.07318.74
5.4.260.0030.05718.65
5.4.250.0200.05018.82
5.4.240.0270.05318.63
5.4.230.0130.07318.63
5.4.220.0100.05718.77
5.4.210.0130.05019.07
5.4.200.0100.06018.82
5.4.190.0100.05018.73
5.4.180.0130.06318.86
5.4.170.0170.05718.71
5.4.160.0170.07018.85
5.4.150.0170.06018.81
5.4.140.0170.04316.42
5.4.130.0100.05016.38
5.4.120.0000.06016.35
5.4.110.0030.05316.25
5.4.100.0170.05016.40
5.4.90.0130.06316.42
5.4.80.0170.06016.40
5.4.70.0070.04716.54
5.4.60.0070.05016.32
5.4.50.0130.04716.25
5.4.40.0100.05716.43
5.4.30.0200.05716.25
5.4.20.0170.04316.22
5.4.10.0270.05716.37
5.4.00.0130.06715.83
5.3.290.0070.04012.80
5.3.280.0100.05014.56
5.3.270.0170.06714.44
5.3.260.0100.05014.68
5.3.250.0130.06314.63
5.3.240.0170.06314.67
5.3.230.0170.07314.68
5.3.220.0030.06014.70
5.3.210.0130.05714.58
5.3.200.0170.05314.47
5.3.190.0130.06014.58
5.3.180.0230.06314.79
5.3.170.0300.04714.53
5.3.160.0100.07714.56
5.3.150.0070.05014.55
5.3.140.0130.06314.77
5.3.130.0130.06314.45
5.3.120.0170.07314.38
5.3.110.0170.06314.38
5.3.100.0170.06014.11
5.3.90.0170.06714.18
5.3.80.0130.06713.85
5.3.70.0030.05314.02
5.3.60.0070.07014.08
5.3.50.0030.06013.93
5.3.40.0070.05314.04
5.3.30.0030.05313.99
5.3.20.0070.07013.87
5.3.10.0200.05713.63
5.3.00.0100.04713.73
5.2.170.0070.05011.07
5.2.160.0200.04010.90
5.2.150.0070.04711.02
5.2.140.0170.03011.07
5.2.130.0030.06010.86
5.2.120.0200.04310.98
5.2.110.0070.04311.11
5.2.100.0100.04011.25
5.2.90.0030.04710.98
5.2.80.0030.05711.01
5.2.70.0070.04011.24
5.2.60.0130.05310.81
5.2.50.0200.05710.93
5.2.40.0030.05310.91
5.2.30.0030.04310.88
5.2.20.0030.04310.89
5.2.10.0130.05010.94
5.2.00.0070.04710.80
5.1.60.0130.0309.88
5.1.50.0100.03010.03
5.1.40.0030.0509.90
5.1.30.0030.03710.54
5.1.20.0130.04710.53
5.1.10.0100.03010.02
5.1.00.0070.0509.84
5.0.50.0030.0338.43
5.0.40.0070.0278.45
5.0.30.0030.0577.99
5.0.20.0030.0308.28
5.0.10.0030.0338.14
5.0.00.0000.0478.20
4.4.90.0030.0206.10
4.4.80.0030.0306.10
4.4.70.0070.0206.10
4.4.60.0070.0206.10
4.4.50.0030.0306.10
4.4.40.0030.0376.10
4.4.30.0000.0336.10
4.4.20.0030.0306.10
4.4.10.0100.0236.10
4.4.00.0000.0376.10
4.3.110.0030.0276.10
4.3.100.0030.0306.10
4.3.90.0000.0306.10
4.3.80.0030.0436.10
4.3.70.0100.0176.10
4.3.60.0070.0276.10
4.3.50.0100.0136.10
4.3.40.0070.0436.10
4.3.30.0130.0206.10
4.3.20.0130.0106.10
4.3.10.0000.0336.10
4.3.00.0170.02015.57

preferences:
40.74 ms | 401 KiB | 5 Q