3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { static function foo() { echo "A\n"; } } class B extends A { static function foo() { echo "B\n"; } } $cb = array('T', 'A::foo'); call_user_func($cb);

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.00716.75
8.3.50.0100.00822.83
8.3.40.0140.00018.64
8.3.30.0100.00319.00
8.3.20.0000.00720.34
8.3.10.0050.00221.82
8.3.00.0040.00417.63
8.2.180.0110.01116.50
8.2.170.0160.00622.96
8.2.160.0100.00320.39
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0040.00420.87
8.2.110.0060.00320.39
8.2.100.0080.00317.78
8.2.90.0000.00919.13
8.2.80.0000.00917.97
8.2.70.0060.00317.63
8.2.60.0110.00017.55
8.2.50.0080.00018.07
8.2.40.0000.00818.09
8.2.30.0000.00717.89
8.2.20.0000.00817.59
8.2.10.0050.00317.97
8.2.00.0000.00917.79
8.1.280.0070.00725.92
8.1.270.0030.00623.79
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0000.00922.21
8.1.230.0090.00320.66
8.1.220.0040.00418.77
8.1.210.0000.00818.77
8.1.200.0030.00617.38
8.1.190.0050.00317.13
8.1.180.0040.00418.10
8.1.170.0000.00918.46
8.1.160.0000.00821.85
8.1.150.0000.00818.78
8.1.140.0040.00417.32
8.1.130.0070.00017.78
8.1.120.0080.00017.40
8.1.110.0070.00317.43
8.1.100.0030.00517.42
8.1.90.0040.00417.40
8.1.80.0030.00317.36
8.1.70.0000.00717.38
8.1.60.0080.00017.49
8.1.50.0000.00917.43
8.1.40.0050.00317.39
8.1.30.0040.00417.65
8.1.20.0000.00717.66
8.1.10.0000.00717.55
8.1.00.0070.00017.36
8.0.300.0060.00319.90
8.0.290.0050.00216.63
8.0.280.0070.00018.25
8.0.270.0000.00717.18
8.0.260.0030.00317.18
8.0.250.0030.00316.84
8.0.240.0030.00316.97
8.0.230.0030.00316.93
8.0.220.0040.00416.91
8.0.210.0000.00716.79
8.0.200.0060.00016.93
8.0.190.0000.00716.81
8.0.180.0040.00416.90
8.0.170.0030.00516.93
8.0.160.0030.00516.82
8.0.150.0030.00316.79
8.0.140.0040.00416.72
8.0.130.0030.00313.29
8.0.120.0000.00816.85
8.0.110.0000.00716.91
8.0.100.0050.00216.86
8.0.90.0070.00016.73
8.0.80.0190.00316.83
8.0.70.0000.00716.68
8.0.60.0050.00216.77
8.0.50.0030.00516.78
8.0.30.0090.01117.16
8.0.20.0110.00817.40
8.0.10.0030.00516.77
8.0.00.0050.01316.80
7.4.330.0000.00515.03
7.4.320.0030.00316.57
7.4.300.0000.00616.53
7.4.290.0070.00016.29
7.4.280.0080.00016.46
7.4.270.0030.00316.52
7.4.260.0050.00316.51
7.4.250.0070.00016.41
7.4.240.0050.00216.43
7.4.230.0000.00716.51
7.4.220.0110.00716.48
7.4.210.0060.01116.56
7.4.200.0080.00016.32
7.4.160.0140.01116.38
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0120.00516.38
7.4.120.0110.00616.51
7.4.110.0040.01216.52
7.4.100.0060.01016.62
7.4.90.0050.01516.29
7.4.80.0000.01719.39
7.4.70.0090.00916.40
7.4.60.0070.01016.44
7.4.50.0050.00316.39
7.4.40.0130.00316.60
7.4.30.0080.00816.42
7.4.00.0150.00015.09
7.3.330.0000.00713.24
7.3.320.0060.00013.23
7.3.310.0070.00016.26
7.3.300.0000.00716.22
7.3.290.0180.00016.23
7.3.280.0070.01016.19
7.3.270.0090.00917.40
7.3.260.0090.01216.23
7.3.250.0130.00416.22
7.3.240.0070.01016.45
7.3.230.0130.00816.39
7.3.210.0070.01016.34
7.3.200.0060.00919.39
7.3.190.0070.01016.29
7.3.180.0130.00316.20
7.3.170.0140.00516.51
7.3.160.0000.01616.11
7.3.10.0030.01016.67
7.3.00.0030.01016.50
7.2.330.0140.00416.49
7.2.320.0110.01116.46
7.2.310.0030.01616.36
7.2.300.0130.00316.64
7.2.290.0110.01116.29
7.2.130.0090.00616.74
7.2.120.0030.01016.80
7.2.110.0060.00616.53
7.2.100.0030.01016.66
7.2.90.0110.00316.67
7.2.80.0080.00816.61
7.2.70.0060.00616.69
7.2.60.0030.00616.31
7.2.50.0030.01416.50
7.2.40.0150.00016.83
7.2.30.0060.00616.84
7.2.20.0100.00316.66
7.2.10.0100.00616.61
7.2.00.0050.00717.90
7.1.250.0080.00015.50
7.1.100.0030.01017.93
7.1.70.0050.00517.01
7.1.60.0060.01919.40
7.1.50.0080.00816.81
7.1.00.0070.07322.34
7.0.200.0040.00416.61
7.0.140.0070.07022.08
7.0.60.0070.07719.87
7.0.50.0070.08017.87
7.0.40.0030.09020.18
7.0.30.0300.08020.23
7.0.20.0230.03320.24
7.0.10.0130.05720.08
7.0.00.0070.05720.11
5.6.280.0000.07720.90
5.6.210.0030.06320.45
5.6.200.0070.06018.27
5.6.190.0100.08320.48
5.6.180.0300.05720.39
5.6.170.0300.04320.39
5.6.160.0100.07320.39
5.6.150.0000.06018.23
5.6.140.0070.03718.13
5.6.130.0100.07018.26
5.6.120.0030.04321.03
5.6.110.0030.04321.00
5.6.100.0030.06021.19
5.6.90.0130.08021.13
5.6.80.0030.08020.37
5.5.350.3100.03020.45
5.5.340.0030.05018.04
5.5.330.0030.04320.39
5.5.320.0230.03720.30
5.5.310.0130.04320.30
5.5.300.0100.07717.98
5.5.290.0070.07717.94
5.5.280.0070.04020.98
5.5.270.0070.08020.97
5.5.260.0030.06020.87
5.5.250.0070.08320.58
5.5.240.0030.05720.37
5.4.450.0730.07019.36
5.4.440.0730.05719.43
5.4.430.0400.06319.64
5.4.420.0470.04319.32
5.4.410.0570.05019.32
5.4.400.0770.05019.08
5.4.390.0730.06019.38
5.4.380.0070.05018.80
5.4.370.0030.06018.72
5.4.360.0130.04018.68
5.4.350.0060.06212.02
5.4.340.0160.05212.01
5.4.320.0100.03412.50
5.4.310.0060.04212.50
5.4.300.0040.04412.50
5.4.290.0040.04112.50
5.4.280.0080.05212.39
5.4.270.0140.04012.39
5.4.260.0110.05412.40
5.4.250.0090.04512.39
5.4.240.0080.04712.39
5.4.230.0100.04812.39
5.4.220.0110.04812.39
5.4.210.0080.03912.39
5.4.200.0080.04412.39
5.4.190.0100.03912.38
5.4.180.0110.03512.39
5.4.170.0080.03712.40
5.4.160.0060.03712.39
5.4.150.0060.04412.39
5.4.140.0050.03912.07
5.4.130.0080.04712.05
5.4.120.0090.04612.02
5.4.110.0100.03212.01
5.4.100.0070.03512.01
5.4.90.0060.04012.02
5.4.80.0090.05112.02
5.4.70.0050.03812.01
5.4.60.0050.03612.01
5.4.50.0090.06012.01
5.4.40.0060.04411.99
5.4.30.0040.03912.00
5.4.20.0070.03611.99
5.4.10.0080.04711.99
5.4.00.0100.04311.48
5.3.290.0090.05112.80
5.3.280.0090.05812.71
5.3.270.0160.04112.72
5.3.260.0110.05512.71
5.3.250.0060.05712.71
5.3.240.0210.10712.72
5.3.230.0120.05312.71
5.3.220.0050.04612.68
5.3.210.0070.04612.68
5.3.200.0110.03912.68
5.3.190.0040.04212.67
5.3.180.0080.03512.68
5.3.170.0090.03712.67
5.3.160.0060.03912.68
5.3.150.0090.04512.67
5.3.140.0090.05012.66
5.3.130.0100.05012.65
5.3.120.0080.04112.66
5.3.110.0050.04212.66
5.3.100.0090.06312.12
5.3.90.0090.04012.10
5.3.80.0090.04612.11
5.3.70.0060.03912.09
5.3.60.0060.03812.08
5.3.50.0110.04912.03
5.3.40.0090.05812.03
5.3.30.0070.04211.98
5.3.20.0070.04111.76
5.3.10.0060.04411.73
5.3.00.0080.04811.73
5.2.170.0070.0399.23
5.2.160.0030.0339.23
5.2.150.0040.0349.23
5.2.140.0120.0339.22
5.2.130.0090.0559.18
5.2.120.0070.0339.18
5.2.110.0050.0409.19
5.2.100.0060.0299.18
5.2.90.0050.0409.18
5.2.80.0120.0769.17
5.2.70.0100.0369.18
5.2.60.0060.0369.13
5.2.50.0080.0289.10
5.2.40.0070.0319.07
5.2.30.0050.0319.04
5.2.20.0090.0309.04
5.2.10.0120.0488.94
5.2.00.0080.0518.80
5.1.60.0120.0348.09
5.1.50.0060.0308.09
5.1.40.0070.0358.07
5.1.30.0080.0348.42
5.1.20.0100.0268.44
5.1.10.0030.0278.17
5.1.00.0030.0288.16
5.0.50.0060.0186.64
5.0.40.0030.0196.50
5.0.30.0030.0326.31
5.0.20.0040.0206.28
5.0.10.0010.0226.26
5.0.00.0030.0316.25
4.4.90.0030.0154.78
4.4.80.0020.0204.75
4.4.70.0020.0194.75
4.4.60.0040.0164.75
4.4.50.0010.0184.77
4.4.40.0040.0294.70
4.4.30.0030.0184.76
4.4.20.0040.0164.84
4.4.10.0030.0174.85
4.4.00.0040.0244.76
4.3.110.0020.0174.67
4.3.100.0020.0164.66
4.3.90.0020.0174.63
4.3.80.0080.0624.58
4.3.70.0030.0194.63
4.3.60.0020.0184.63
4.3.50.0080.0284.63
4.3.40.0050.0264.54
4.3.30.0030.0163.30
4.3.20.0020.0193.28
4.3.10.0010.0193.23
4.3.00.0130.0207.82

preferences:
34.14 ms | 401 KiB | 5 Q