3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { static function foo() { echo "A\n"; } } class B extends A { } $cb = array('B', 'self::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.00016.63
8.3.50.0120.00822.88
8.3.40.0080.00818.96
8.3.30.0100.00318.96
8.3.20.0000.00820.07
8.3.10.0050.00321.64
8.3.00.0040.00419.26
8.2.180.0070.01116.63
8.2.170.0110.00422.96
8.2.160.0200.00020.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0080.00021.16
8.2.110.0060.00322.29
8.2.100.0110.00017.84
8.2.90.0030.00519.03
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0030.00618.34
8.2.30.0040.00417.96
8.2.20.0040.00417.57
8.2.10.0070.00017.85
8.2.00.0040.00417.52
8.1.280.0070.00725.92
8.1.270.0080.00023.91
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00323.67
8.1.230.0040.00818.90
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0040.00417.11
8.1.180.0030.00519.01
8.1.170.0000.00818.59
8.1.160.0040.00421.84
8.1.150.0070.00018.84
8.1.140.0050.00317.34
8.1.130.0050.00217.73
8.1.120.0000.00717.38
8.1.110.0090.00017.32
8.1.100.0050.00317.28
8.1.90.0030.00317.43
8.1.80.0050.00217.45
8.1.70.0000.00717.32
8.1.60.0050.00317.57
8.1.50.0000.00817.57
8.1.40.0060.00317.39
8.1.30.0030.00517.63
8.1.20.0030.00617.65
8.1.10.0040.00417.54
8.1.00.0030.00517.46
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0030.00318.44
8.0.270.0000.00717.24
8.0.260.0080.00017.29
8.0.250.0000.00716.78
8.0.240.0030.00316.90
8.0.230.0030.00316.92
8.0.220.0040.00416.70
8.0.210.0040.00416.86
8.0.200.0030.00316.88
8.0.190.0000.00716.87
8.0.180.0000.00716.85
8.0.170.0040.00416.85
8.0.160.0000.00716.89
8.0.150.0070.00016.68
8.0.140.0040.00416.82
8.0.130.0030.00313.24
8.0.120.0040.00416.77
8.0.110.0070.00016.79
8.0.100.0030.00516.64
8.0.90.0080.00016.77
8.0.80.0110.01116.78
8.0.70.0050.00316.65
8.0.60.0000.00816.81
8.0.50.0040.00416.70
8.0.30.0140.00617.09
8.0.20.0150.00817.40
8.0.10.0050.00216.98
8.0.00.0110.01016.68
7.4.330.0050.00015.00
7.4.320.0030.00316.43
7.4.300.0000.00716.55
7.4.290.0000.00716.60
7.4.280.0030.00616.50
7.4.270.0030.00316.56
7.4.260.0090.00016.47
7.4.250.0030.00516.57
7.4.240.0020.00616.59
7.4.230.0030.00316.58
7.4.220.0160.00616.64
7.4.210.0110.00416.66
7.4.200.0000.00716.70
7.4.160.0190.00616.29
7.4.150.0070.01117.40
7.4.140.0070.01017.86
7.4.130.0070.01016.52
7.4.120.0120.00516.48
7.4.110.0070.01116.76
7.4.100.0090.01216.55
7.4.90.0090.00916.42
7.4.80.0140.00319.39
7.4.70.0070.01016.59
7.4.60.0030.01316.40
7.4.50.0000.00816.20
7.4.40.0090.01316.54
7.4.30.0130.00316.60
7.4.00.0040.01414.99
7.3.330.0030.00313.10
7.3.320.0000.00513.05
7.3.310.0060.00016.28
7.3.300.0070.00016.23
7.3.290.0100.00316.18
7.3.280.0090.00716.23
7.3.270.0110.00717.40
7.3.260.0040.01316.37
7.3.250.0110.00516.34
7.3.240.0130.00316.45
7.3.230.0100.00616.39
7.3.210.0100.00716.28
7.3.200.0170.00319.39
7.3.190.0110.01016.20
7.3.180.0140.00716.14
7.3.170.0080.01216.27
7.3.160.0100.00616.48
7.3.120.0070.00914.79
7.3.110.0100.00914.60
7.3.100.0010.00914.94
7.3.90.0070.00714.77
7.3.80.0050.00814.65
7.3.70.0100.00314.84
7.3.60.0040.00614.60
7.3.50.0020.01214.75
7.3.40.0000.01114.61
7.3.30.0080.00914.65
7.3.20.0060.00516.38
7.3.10.0080.00416.57
7.3.00.0050.00516.53
7.2.330.0140.00316.48
7.2.320.0030.01716.72
7.2.310.0150.00316.13
7.2.300.0100.00716.52
7.2.290.0050.01116.60
7.2.250.0120.00815.05
7.2.240.0030.01514.98
7.2.230.0050.00914.97
7.2.220.0020.01314.88
7.2.210.0030.01014.97
7.2.200.0070.00914.85
7.2.190.0050.00714.78
7.2.180.0070.00714.85
7.2.170.0080.00814.74
7.2.160.0040.00814.75
7.2.150.0090.00016.90
7.2.140.0030.00516.77
7.2.130.0110.00416.70
7.2.120.0060.00916.57
7.2.110.0040.01216.54
7.2.100.0000.01816.73
7.2.90.0070.01016.93
7.2.80.0030.00616.56
7.2.70.0120.00616.54
7.2.60.0000.01516.90
7.2.50.0070.00716.67
7.2.40.0000.01416.94
7.2.30.0040.00416.86
7.2.20.0080.00516.92
7.2.10.0040.01116.86
7.2.00.0060.00718.03
7.1.330.0040.01215.66
7.1.320.0080.00315.62
7.1.310.0080.00715.67
7.1.300.0040.00715.74
7.1.290.0090.00515.77
7.1.280.0110.00315.67
7.1.270.0030.00815.39
7.1.260.0050.00815.66
7.1.250.0000.01515.73
7.1.200.0050.00315.48
7.1.100.0030.00918.02
7.1.70.0030.00617.09
7.1.60.0000.02119.40
7.1.50.0130.00716.78
7.1.00.0030.07322.55
7.0.200.0030.00714.82
7.0.140.0000.08022.18
7.0.60.0070.08020.00
7.0.50.0070.08017.88
7.0.40.0030.05320.09
7.0.30.0230.04020.16
7.0.20.0300.06320.10
7.0.10.0130.08320.10
7.0.00.0000.09720.06
5.6.280.0100.06720.93
5.6.210.0000.05020.76
5.6.200.0100.08718.24
5.6.190.0070.06720.52
5.6.180.2130.05020.61
5.6.170.0200.08020.56
5.6.160.0070.07020.57
5.6.150.0000.04718.16
5.6.140.0030.04718.25
5.6.130.0030.04318.24
5.6.120.0030.06020.96
5.6.110.0100.07721.01
5.6.100.0270.06720.98
5.6.90.0100.08720.86
5.6.80.0070.06020.39
5.6.70.4500.03720.39
5.5.350.0230.07720.33
5.5.340.0200.06717.99
5.5.330.0070.08720.41
5.5.320.4100.03720.31
5.5.310.0270.08020.25
5.5.300.0000.08717.98
5.5.290.0000.04718.04
5.5.280.0130.04320.69
5.5.270.0000.04320.73
5.5.260.0130.08020.79
5.5.250.0070.08020.61
5.5.240.0130.04320.26
5.4.450.0200.04019.41
5.4.440.0130.04319.58
5.4.430.0130.05319.54
5.4.420.0030.06319.42
5.4.410.0100.05318.72
5.4.400.0030.06018.50
5.4.390.0030.05718.50
5.4.380.0170.05318.70
5.4.370.0270.04318.61
5.4.360.0100.03718.75
5.4.350.0060.04212.02
5.4.340.0190.05612.02
5.4.320.0050.03712.50
5.4.310.0070.04212.50
5.4.300.0110.03712.50
5.4.290.0080.04112.50
5.4.280.0070.03712.39
5.4.270.0050.03712.39
5.4.260.0030.03912.40
5.4.250.0060.03812.40
5.4.240.0060.03612.39
5.4.230.0070.03612.39
5.4.220.0050.03712.38
5.4.210.0060.03412.39
5.4.200.0060.03712.38
5.4.190.0050.03612.38
5.4.180.0030.03812.38
5.4.170.0050.03612.39
5.4.160.0060.03712.39
5.4.150.0050.04012.39
5.4.140.0080.04612.07
5.4.130.0050.03812.05
5.4.120.0030.03912.02
5.4.110.0080.03312.01
5.4.100.0090.03112.01
5.4.90.0060.03712.01
5.4.80.0070.03512.01
5.4.70.0060.03412.01
5.4.60.0060.03512.01
5.4.50.0050.03712.01
5.4.40.0040.03612.00
5.4.30.0070.04112.00
5.4.20.0060.03711.99
5.4.10.0050.03511.99
5.4.00.0040.03911.48
5.3.290.0050.04012.80
5.3.280.0090.03712.71
5.3.270.0050.04212.72
5.3.260.0070.03912.72
5.3.250.0050.04312.72
5.3.240.0090.04012.72
5.3.230.0100.04612.71
5.3.220.0040.04012.68
5.3.210.0070.03912.68
5.3.200.0100.03412.68
5.3.190.0020.04212.68
5.3.180.0060.03612.67
5.3.170.0070.03712.67
5.3.160.0060.03512.68
5.3.150.0080.03612.68
5.3.140.0050.03712.66
5.3.130.0030.04112.66
5.3.120.0080.03512.66
5.3.110.0090.04012.66
5.3.100.0040.04012.12
5.3.90.0040.03812.09
5.3.80.0090.03312.09
5.3.70.0040.03912.09
5.3.60.0100.03312.07
5.3.50.0040.03712.03
5.3.40.0060.03512.02
5.3.30.0030.03811.98
5.3.20.0030.03811.75
5.3.10.0040.03611.72
5.3.00.0070.03511.71
5.2.170.0070.0289.21
5.2.160.0030.0319.21
5.2.150.0100.0259.22
5.2.140.0060.0299.21
5.2.130.0030.0309.17
5.2.120.0030.0309.17
5.2.110.0080.0269.18
5.2.100.0040.0299.17
5.2.90.0030.0419.17
5.2.80.0060.0309.17
5.2.70.0050.0319.17
5.2.60.0030.0329.13
5.2.50.0020.0339.09
5.2.40.0030.0319.07
5.2.30.0050.0309.04
5.2.20.0040.0309.04
5.2.10.0050.0318.94
5.2.00.0040.0298.80
5.1.60.0070.0218.09
5.1.50.0080.0218.08
5.1.40.0070.0218.06
5.1.30.0020.0288.41
5.1.20.0040.0278.43
5.1.10.0040.0288.16
5.1.00.0050.0248.16
5.0.50.0050.0196.63
5.0.40.0020.0216.50
5.0.30.0020.0326.30
5.0.20.0020.0216.28
5.0.10.0010.0226.25
5.0.00.0020.0346.25
4.4.90.0010.0194.78
4.4.80.0010.0174.75
4.4.70.0010.0174.75
4.4.60.0020.0154.76
4.4.50.0020.0214.77
4.4.40.0040.0264.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0030.0164.85
4.4.00.0020.0264.76
4.3.110.0030.0154.66
4.3.100.0020.0154.66
4.3.90.0030.0144.63
4.3.80.0030.0244.58
4.3.70.0010.0164.63
4.3.60.0030.0144.62
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0020.0173.30
4.3.20.0020.0163.28
4.3.10.0050.0183.24
4.3.00.0000.01715.91

preferences:
33.83 ms | 401 KiB | 5 Q