3v4l.org

run code in 300+ PHP versions simultaneously
<?php function inc($a, $b, $c) { ++$a; ++$b; ++$c; } $a = 1; $b = 2; $c = 3; $params = array($a, $b, $c); call_user_func_array('inc', $params); var_dump($params);

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.0040.01118.28
8.3.50.0150.00821.14
8.3.40.0030.01218.79
8.3.30.0100.00719.02
8.3.20.0000.00820.16
8.3.10.0050.00321.65
8.3.00.0050.00319.14
8.2.180.0100.00616.63
8.2.170.0100.00322.96
8.2.160.0170.00322.21
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00019.54
8.2.110.0060.00320.28
8.2.100.0110.00018.18
8.2.90.0000.00818.21
8.2.80.0040.00418.04
8.2.70.0040.00417.80
8.2.60.0030.00618.16
8.2.50.0060.00318.10
8.2.40.0040.00421.02
8.2.30.0000.00719.22
8.2.20.0000.00717.58
8.2.10.0000.00717.99
8.2.00.0050.00317.81
8.1.280.0140.00325.92
8.1.270.0040.00418.86
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00320.51
8.1.230.0090.00320.97
8.1.220.0030.00717.74
8.1.210.0030.00618.77
8.1.200.0030.00717.35
8.1.190.0030.00617.35
8.1.180.0060.00318.10
8.1.170.0030.00520.76
8.1.160.0040.00419.11
8.1.150.0040.00418.79
8.1.140.0040.00417.44
8.1.130.0050.00217.81
8.1.120.0070.00017.39
8.1.110.0050.00317.35
8.1.100.0040.00417.45
8.1.90.0000.00717.36
8.1.80.0000.00817.48
8.1.70.0000.00717.44
8.1.60.0040.00417.61
8.1.50.0000.00817.54
8.1.40.0000.00817.42
8.1.30.0040.00417.64
8.1.20.0060.00317.48
8.1.10.0040.00417.50
8.1.00.0030.00617.45
8.0.300.0040.00419.76
8.0.290.0060.00316.63
8.0.280.0030.00318.46
8.0.270.0000.00717.24
8.0.260.0070.00017.24
8.0.250.0000.00717.01
8.0.240.0050.00216.95
8.0.230.0040.00416.93
8.0.220.0030.00316.90
8.0.210.0040.00416.94
8.0.200.0080.00016.93
8.0.190.0030.00616.94
8.0.180.0000.00716.79
8.0.170.0000.00716.80
8.0.160.0070.00016.85
8.0.150.0030.00316.88
8.0.140.0050.00316.88
8.0.130.0030.00313.29
8.0.120.0030.00516.75
8.0.110.0000.00716.80
8.0.100.0040.00416.85
8.0.90.0070.00016.81
8.0.80.0100.00616.85
8.0.70.0070.00016.88
8.0.60.0000.00716.92
8.0.50.0000.00716.76
8.0.30.0090.00817.19
8.0.20.0110.01417.40
8.0.10.0000.00716.82
8.0.00.0100.01016.96
7.4.330.0000.00515.10
7.4.320.0030.00316.55
7.4.300.0060.00016.50
7.4.290.0000.00816.45
7.4.280.0040.00416.57
7.4.270.0000.00616.64
7.4.260.0030.00316.49
7.4.250.0030.00516.53
7.4.240.0000.00716.54
7.4.230.0030.00316.40
7.4.220.0140.01116.55
7.4.210.0100.00716.50
7.4.200.0000.00716.47
7.4.160.0100.00516.57
7.4.150.0170.00317.40
7.4.140.0140.00517.86
7.4.130.0020.01416.55
7.4.120.0060.01316.57
7.4.110.0030.01716.61
7.4.100.0110.00716.66
7.4.90.0100.00716.39
7.4.80.0060.01219.39
7.4.70.0140.00716.43
7.4.60.0070.01016.39
7.4.50.0000.00816.41
7.4.40.0040.01216.54
7.4.30.0070.01016.33
7.4.00.0100.00715.00
7.3.330.0060.00013.27
7.3.320.0050.00013.30
7.3.310.0070.00016.31
7.3.300.0000.00716.29
7.3.290.0120.00416.24
7.3.280.0070.00916.26
7.3.270.0090.01117.40
7.3.260.0040.01416.48
7.3.250.0120.00716.38
7.3.240.0130.00416.57
7.3.230.0080.00916.47
7.3.210.0090.00916.42
7.3.200.0120.01119.39
7.3.190.0040.01216.32
7.3.180.0070.01416.39
7.3.170.0070.01016.35
7.3.160.0120.00316.48
7.2.330.0070.01016.56
7.2.320.0140.00516.42
7.2.310.0110.00416.56
7.2.300.0080.00816.45
7.2.290.0140.00316.56
7.2.60.0090.00616.68
7.2.00.0040.00819.43
7.1.200.0060.00615.43
7.1.100.0100.00318.23
7.1.70.0070.00416.86
7.1.60.0080.00316.90
7.1.50.0070.01416.32
7.1.00.0070.07022.54
7.0.200.0060.00316.39
7.0.140.0000.03721.93
7.0.60.0130.03019.97
7.0.50.0130.04017.84
7.0.40.0070.07320.31
7.0.30.0330.07320.13
7.0.20.0230.07720.09
7.0.10.0030.06020.33
7.0.00.0030.04320.32
5.6.280.0000.07720.79
5.6.210.0030.07720.63
5.6.200.0070.07318.14
5.6.190.0130.07320.64
5.6.180.3430.04020.39
5.6.170.0270.08720.53
5.6.160.0070.05720.46
5.6.150.0000.04018.20
5.6.140.0030.03718.18
5.6.130.0070.08018.18
5.6.120.0030.08021.01
5.6.110.0070.08721.02
5.6.100.0100.08021.02
5.6.90.0030.04321.00
5.6.80.0130.07320.29
5.6.70.4470.03720.52
5.5.350.0200.07720.46
5.5.340.0130.07317.96
5.5.330.0100.04020.56
5.5.320.4070.04720.21
5.5.310.0300.07320.31
5.5.300.0100.04318.09
5.5.290.0000.04717.95
5.5.280.0070.07020.78
5.5.270.0030.04020.84
5.5.260.0130.03720.87
5.5.250.0100.07320.78
5.5.240.0400.05720.15
5.4.450.0570.07719.64
5.4.440.0500.05019.21
5.4.430.0800.05019.66
5.4.420.0430.06719.29
5.4.410.0100.05319.42
5.4.400.0730.05019.31
5.4.390.0800.04718.96
5.4.380.0230.04718.61
5.4.370.0130.05718.62
5.4.360.0300.03718.63
5.4.350.0200.05018.53
5.4.340.0170.05318.46
5.4.320.0070.06318.78
5.4.310.0200.05018.70
5.4.300.0170.05318.50
5.4.290.0170.05018.50
5.4.280.0170.05318.74
5.4.270.0200.05018.56
5.4.260.0170.06018.73
5.4.250.0200.05018.84
5.4.240.0130.05718.46
5.4.230.0130.05318.83
5.4.220.0170.05718.68
5.4.210.0270.04718.49
5.4.200.0170.04716.71
5.4.190.0070.06318.75
5.4.180.0030.06318.51
5.4.170.0170.05318.72
5.4.160.0230.05318.44
5.4.150.0200.05018.81
5.4.140.0070.06016.27
5.4.130.0130.05016.28
5.4.120.0170.04716.23
5.4.110.0270.04016.31
5.4.100.0170.05016.23
5.4.90.0100.05316.21
5.4.80.0100.05316.24
5.4.70.0200.04716.27
5.4.60.0200.04316.23
5.4.50.0200.04316.27
5.4.40.0100.05716.16
5.4.30.0130.05016.27
5.4.20.0230.04316.16
5.4.10.0270.03716.26
5.4.00.0170.05315.69
5.3.290.0170.05314.79
5.3.280.0270.04714.63
5.3.270.0130.05714.60
5.3.260.0200.05014.81
5.3.250.0170.05014.64
5.3.240.0100.05714.78
5.3.230.0100.05714.74
5.3.220.0130.05314.58
5.3.210.0100.06014.60
5.3.200.0170.05014.60
5.3.190.0170.05014.77
5.3.180.0130.05314.73
5.3.170.0130.05314.78
5.3.160.0200.04714.55
5.3.150.0130.05714.60
5.3.140.0100.05714.57
5.3.130.0170.05714.59
5.3.120.0170.05314.75
5.3.110.0070.06314.57
5.3.100.0070.06314.17
5.3.90.0100.05314.09
5.3.80.0130.05014.24
5.3.70.0130.05314.24
5.3.60.0100.05314.03
5.3.50.0130.05314.11
5.3.40.0100.05714.00
5.3.30.0130.05314.13
5.3.20.0200.04713.71
5.3.10.0130.05013.66
5.3.00.0170.05013.63
5.2.170.0130.04011.25
5.2.160.0100.04311.21
5.2.150.0070.04711.18
5.2.140.0070.05011.17
5.2.130.0070.04311.14
5.2.120.0100.04311.32
5.2.110.0130.04011.10
5.2.100.0100.04011.20
5.2.90.0130.03711.17
5.2.80.0100.04311.29
5.2.70.0200.04311.12
5.2.60.0070.04711.03
5.2.50.0100.04311.05
5.2.40.0170.03311.05
5.2.30.0100.04311.00
5.2.20.0100.04010.98
5.2.10.0170.03310.96
5.2.00.0070.04710.93
5.1.60.0130.03010.18
5.1.50.0070.03710.11
5.1.40.0100.03310.01
5.1.30.0170.02710.36
5.1.20.0170.03310.55
5.1.10.0070.04010.09
5.1.00.0100.03710.11
5.0.50.0100.0278.57
5.0.40.0030.0308.54
5.0.30.0000.0508.36
5.0.20.0070.0278.22
5.0.10.0130.0238.21
5.0.00.0100.0538.18
4.4.90.0030.0275.92
4.4.80.0130.0175.89
4.4.70.0070.0235.88
4.4.60.0030.0235.93
4.4.50.0100.0175.91
4.4.40.0030.0375.91
4.4.30.0100.0175.88
4.4.20.0070.0205.95
4.4.10.0030.0235.93
4.4.00.0030.0375.98
4.3.110.0000.0275.83
4.3.100.0070.0205.85
4.3.90.0070.0205.80
4.3.80.0070.0335.82
4.3.70.0070.0205.79
4.3.60.0070.0175.80
4.3.50.0100.0175.80
4.3.40.0030.0475.87
4.3.30.0070.0204.64
4.3.20.0070.0204.57
4.3.10.0070.0204.48
4.3.00.0070.0277.76

preferences:
42.55 ms | 401 KiB | 5 Q