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.0110.00418.68
8.3.50.0130.00621.20
8.3.40.0150.00618.84
8.3.30.0100.01019.03
8.3.20.0040.00420.21
8.3.10.0000.00821.89
8.3.00.0050.00319.02
8.2.180.0160.00016.63
8.2.170.0070.00722.96
8.2.160.0120.00622.13
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00019.54
8.2.110.0060.00321.12
8.2.100.0060.00617.91
8.2.90.0000.00819.22
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0030.00617.50
8.2.50.0080.00017.93
8.2.40.0060.00319.15
8.2.30.0040.00419.41
8.2.20.0050.00317.86
8.2.10.0000.00818.10
8.2.00.0040.00417.86
8.1.280.0140.00325.92
8.1.270.0000.00818.88
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00419.17
8.1.230.0040.00817.89
8.1.220.0060.00317.79
8.1.210.0000.00818.77
8.1.200.0080.00017.66
8.1.190.0050.00317.35
8.1.180.0080.00018.10
8.1.170.0050.00317.62
8.1.160.0030.00719.07
8.1.150.0000.00818.87
8.1.140.0000.00717.31
8.1.130.0040.00417.81
8.1.120.0040.00417.48
8.1.110.0040.00417.46
8.1.100.0020.00517.39
8.1.90.0000.00717.39
8.1.80.0070.00017.45
8.1.70.0000.00717.51
8.1.60.0000.00817.50
8.1.50.0000.00817.52
8.1.40.0000.00717.51
8.1.30.0000.00817.57
8.1.20.0050.00317.49
8.1.10.0000.00717.50
8.1.00.0050.00217.34
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00718.56
8.0.270.0000.00717.30
8.0.260.0000.00817.25
8.0.250.0030.00316.90
8.0.240.0040.00416.98
8.0.230.0070.00017.03
8.0.220.0000.00716.96
8.0.210.0030.00316.88
8.0.200.0070.00016.98
8.0.190.0040.00417.00
8.0.180.0020.00516.89
8.0.170.0000.00816.96
8.0.160.0040.00416.86
8.0.150.0000.00716.95
8.0.140.0040.00316.90
8.0.130.0070.00013.33
8.0.120.0000.00816.82
8.0.110.0040.00416.91
8.0.100.0000.00716.80
8.0.90.0000.00716.76
8.0.80.0150.00616.92
8.0.70.0000.00716.98
8.0.60.0050.00316.80
8.0.50.0040.00416.95
8.0.30.0140.00817.15
8.0.20.0130.01517.40
8.0.10.0040.00417.08
8.0.00.0100.00816.77
7.4.330.0020.00215.03
7.4.320.0060.00016.47
7.4.300.0000.00616.45
7.4.290.0070.00016.56
7.4.280.0050.00216.41
7.4.270.0040.00416.59
7.4.260.0030.00313.35
7.4.250.0040.00416.36
7.4.240.0050.00216.56
7.4.230.0030.00316.59
7.4.220.0110.00816.51
7.4.210.0130.01016.63
7.4.200.0040.00416.59
7.4.160.0130.00316.54
7.4.150.0180.00917.40
7.4.140.0130.00917.86
7.4.130.0110.00616.53
7.4.120.0070.01216.48
7.4.110.0110.00716.62
7.4.100.0060.01116.45
7.4.90.0110.00716.63
7.4.80.0080.00819.39
7.4.70.0130.00616.35
7.4.60.0130.00316.45
7.4.50.0000.00816.61
7.4.40.0080.00816.58
7.4.30.0110.01016.63
7.4.00.0000.01714.89
7.3.330.0030.00313.20
7.3.320.0000.00613.39
7.3.310.0070.00016.25
7.3.300.0040.00416.32
7.3.290.0060.01016.34
7.3.280.0120.00616.35
7.3.270.0170.00317.40
7.3.260.0140.00716.40
7.3.250.0100.00816.31
7.3.240.0150.00316.36
7.3.230.0090.00916.39
7.3.210.0120.01116.30
7.3.200.0030.01419.39
7.3.190.0120.00416.50
7.3.180.0070.01416.50
7.3.170.0090.00916.43
7.3.160.0120.00416.32
7.2.330.0100.01316.64
7.2.320.0030.01516.69
7.2.310.0060.01016.48
7.2.300.0040.01216.55
7.2.290.0180.00416.51
7.2.60.0000.01416.69
7.1.200.0030.00715.75
7.1.70.0070.00417.03
7.1.60.0070.01319.22
7.1.50.0100.01416.93
7.1.00.0000.08022.45
7.0.200.0000.00716.68
7.0.140.0070.04722.08
7.0.60.0130.03319.95
7.0.50.0100.03317.72
7.0.40.0100.08020.30
7.0.30.0370.05720.23
7.0.20.0230.07320.26
7.0.10.0330.07320.19
7.0.00.0070.07720.23
5.6.280.0100.06721.04
5.6.210.0070.05320.63
5.6.200.0070.03718.15
5.6.190.0070.06720.63
5.6.180.3530.03720.50
5.6.170.0230.05720.62
5.6.160.0100.06020.39
5.6.150.0030.06718.27
5.6.140.0030.05318.17
5.6.130.0000.07018.21
5.6.120.0100.07021.01
5.6.110.0000.06320.97
5.6.100.0100.07721.14
5.6.90.0070.04020.98
5.6.80.0100.07320.38
5.6.70.0300.07720.36
5.5.350.0300.08020.50
5.5.340.0200.06717.98
5.5.330.0130.06720.37
5.5.320.0330.04320.35
5.5.310.0270.07020.27
5.5.300.0100.07717.96
5.5.290.0070.08017.95
5.5.280.0070.08020.79
5.5.270.0130.08020.86
5.5.260.0100.03320.87
5.5.250.0070.07320.50
5.5.240.0230.07720.21
5.4.450.0970.06019.59
5.4.440.0630.05019.55
5.4.430.0800.04319.63
5.4.420.0530.06719.54
5.4.410.0600.05319.16
5.4.400.0570.06019.36
5.4.390.0600.07019.22
5.4.380.0170.05718.84
5.4.370.0200.05318.84
5.4.360.0230.04318.53
5.4.350.0130.05718.63
5.4.340.0130.05718.47
5.4.320.0130.05718.46
5.4.310.0200.04718.78
5.4.300.0070.06018.74
5.4.290.0170.05318.55
5.4.280.0200.04718.46
5.4.270.0170.05318.68
5.4.260.0130.05318.52
5.4.250.0170.05318.75
5.4.240.0100.06018.77
5.4.230.0200.04718.74
5.4.220.0100.06018.45
5.4.210.0170.05018.80
5.4.200.0130.05316.79
5.4.190.0130.05318.70
5.4.180.0230.06318.77
5.4.170.0200.05018.57
5.4.160.0130.05018.74
5.4.150.0230.04718.54
5.4.140.0100.05716.44
5.4.130.0100.05316.18
5.4.120.0200.04316.44
5.4.110.0100.05716.45
5.4.100.0130.05316.27
5.4.90.0200.04716.29
5.4.80.0100.05316.27
5.4.70.0100.05316.30
5.4.60.0200.04316.21
5.4.50.0170.04716.20
5.4.40.0200.04316.19
5.4.30.0200.04316.16
5.4.20.0130.05316.29
5.4.10.0100.05316.41
5.4.00.0130.04715.74
5.3.290.0170.05314.70
5.3.280.0130.05714.73
5.3.270.0300.04314.64
5.3.260.0170.05314.73
5.3.250.0230.04714.82
5.3.240.0170.05314.62
5.3.230.0200.04714.63
5.3.220.0230.05014.74
5.3.210.0200.04714.77
5.3.200.0130.05014.54
5.3.190.0170.05014.73
5.3.180.0130.05014.74
5.3.170.0100.05314.54
5.3.160.0130.05014.70
5.3.150.0170.05014.72
5.3.140.0230.04014.71
5.3.130.0170.05014.60
5.3.120.0170.05014.53
5.3.110.0100.06014.71
5.3.100.0100.05314.10
5.3.90.0200.04314.15
5.3.80.0230.04014.13
5.3.70.0100.05714.22
5.3.60.0130.05014.13
5.3.50.0100.05314.18
5.3.40.0070.05713.95
5.3.30.0230.05314.00
5.3.20.0170.04713.79
5.3.10.0200.04313.77
5.3.00.0170.04713.62
5.2.170.0030.05011.25
5.2.160.0200.05011.14
5.2.150.0130.04311.21
5.2.140.0170.03711.17
5.2.130.0100.04311.12
5.2.120.0070.04711.14
5.2.110.0130.04011.19
5.2.100.0130.04011.14
5.2.90.0170.03711.09
5.2.80.0070.04711.20
5.2.70.0130.04311.20
5.2.60.0170.04011.17
5.2.50.0130.05011.03
5.2.40.0170.03310.99
5.2.30.0030.05011.09
5.2.20.0130.03711.00
5.2.10.0200.02710.99
5.2.00.0100.04310.70
5.1.60.0200.02310.17
5.1.50.0070.03310.02
5.1.40.0070.03710.02
5.1.30.0070.04310.38
5.1.20.0170.03310.43
5.1.10.0130.03010.14
5.1.00.0070.04010.17
5.0.50.0100.0238.58
5.0.40.0070.0278.48
5.0.30.0070.0478.26
5.0.20.0070.0308.23
5.0.10.0070.0278.20
5.0.00.0070.0438.35
4.4.90.0030.0235.92
4.4.80.0030.0235.89
4.4.70.0030.0235.90
4.4.60.0100.0175.87
4.4.50.0070.0205.89
4.4.40.0070.0375.91
4.4.30.0070.0206.01
4.4.20.0030.0235.96
4.4.10.0030.0236.05
4.4.00.0100.0305.99
4.3.110.0000.0275.80
4.3.100.0030.0235.80
4.3.90.0100.0175.83
4.3.80.0030.0375.87
4.3.70.0030.0235.82
4.3.60.0030.0235.79
4.3.50.0030.0235.79
4.3.40.0030.0375.77
4.3.30.0000.0274.54
4.3.20.0000.0274.53
4.3.10.0070.0204.50
4.3.00.0100.0337.34

preferences:
57.34 ms | 401 KiB | 5 Q