3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { const NAME = 'A'; public static function test() { $args = func_get_args( ); echo static::NAME, " ".join(',', $args)." \n"; } } class B extends A { const NAME = 'B'; public static function test() { echo self::NAME, "\n"; forward_static_call(array('A', 'test'),'more', 'args'); forward_static_call( 'test', 'other', 'args'); } } B::test(); function test() { $args = func_get_args(); echo "C ".join(',', $args)." \n"; } ?>

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.0070.01418.31
8.3.50.0050.01321.99
8.3.40.0140.00718.91
8.3.30.0130.00718.70
8.3.20.0080.00018.65
8.3.10.0000.00821.00
8.3.00.0040.00423.52
8.2.180.0100.00716.75
8.2.170.0100.00722.96
8.2.160.0140.00020.29
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0030.01026.16
8.2.120.0050.00319.77
8.2.110.0030.00720.88
8.2.100.0060.00617.72
8.2.90.0050.00219.15
8.2.80.0090.00018.04
8.2.70.0060.00617.38
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0000.00821.14
8.2.20.0030.00517.53
8.2.10.0050.00317.79
8.2.00.0040.00417.73
8.1.280.0110.00425.92
8.1.270.0050.00323.99
8.1.260.0060.00926.35
8.1.250.0080.00028.09
8.1.240.0070.00422.54
8.1.230.0080.00320.97
8.1.220.0000.00918.77
8.1.210.0110.00418.77
8.1.200.0060.00317.34
8.1.190.0000.00717.51
8.1.180.0080.00018.10
8.1.170.0000.00818.71
8.1.160.0040.00418.89
8.1.150.0050.00218.54
8.1.140.0030.00517.49
8.1.130.0070.00017.82
8.1.120.0070.00417.50
8.1.110.0040.00417.36
8.1.100.0030.00617.49
8.1.90.0070.00017.45
8.1.80.0000.00717.48
8.1.70.0000.00717.42
8.1.60.0050.00317.47
8.1.50.0000.00817.48
8.1.40.0110.00017.52
8.1.30.0080.00017.61
8.1.20.0080.00017.55
8.1.10.0070.00017.61
8.1.00.0080.00017.43
8.0.300.0040.00420.02
8.0.290.0040.00416.58
8.0.280.0000.00718.43
8.0.270.0000.00717.13
8.0.260.0080.00016.84
8.0.250.0000.00716.96
8.0.240.0050.00516.84
8.0.230.0030.00316.87
8.0.220.0050.00516.93
8.0.210.0070.00016.88
8.0.200.0060.00316.95
8.0.190.0060.00316.97
8.0.180.0040.00416.95
8.0.170.0000.00716.89
8.0.160.0070.00016.78
8.0.150.0040.00416.74
8.0.140.0070.00316.92
8.0.130.0030.00313.29
8.0.120.0000.00816.90
8.0.110.0030.00616.79
8.0.100.0050.00316.88
8.0.90.0070.00017.00
8.0.80.0160.00016.78
8.0.70.0000.00716.91
8.0.60.0070.00016.88
8.0.50.0000.00816.84
8.0.30.0160.00317.08
8.0.20.0100.01017.40
8.0.10.0000.00716.96
8.0.00.0070.01016.72
7.4.330.0020.00213.43
7.4.320.0000.00616.50
7.4.300.0040.00416.50
7.4.290.0030.00316.55
7.4.280.0000.00716.62
7.4.270.0060.00316.64
7.4.260.0050.00013.21
7.4.250.0000.00816.56
7.4.240.0040.00416.59
7.4.230.0040.00416.40
7.4.220.0090.01616.63
7.4.210.0090.00916.56
7.4.200.0040.00416.69
7.4.190.0030.00316.73
7.4.160.0100.01316.43
7.4.150.0160.00317.40
7.4.140.0070.01017.86
7.4.130.0140.00716.53
7.4.120.0050.01316.50
7.4.110.0090.00916.52
7.4.100.0100.01316.52
7.4.90.0110.00616.49
7.4.80.0070.01019.39
7.4.70.0140.00316.49
7.4.60.0160.00016.49
7.4.50.0000.00816.38
7.4.40.0030.00922.52
7.4.30.0090.00916.65
7.4.00.0080.00814.77
7.3.330.0000.00513.30
7.3.320.0100.00313.31
7.3.310.0000.00716.31
7.3.300.0040.00416.16
7.3.290.0070.01016.31
7.3.280.0110.00616.29
7.3.270.0140.00317.40
7.3.260.0100.00818.24
7.3.250.0080.00916.26
7.3.240.0070.01016.54
7.3.230.0060.01216.39
7.3.210.0140.00316.16
7.3.200.0130.00719.39
7.3.190.0120.01016.20
7.3.180.0130.00316.22
7.3.170.0100.00716.61
7.3.160.0090.00616.52
7.3.120.0080.00814.88
7.3.00.0090.00616.35
7.2.330.0130.00516.70
7.2.320.0070.01016.75
7.2.310.0140.00716.64
7.2.300.0090.00816.61
7.2.290.0140.00316.61
7.2.130.0070.00716.93
7.2.120.0070.00716.60
7.2.110.0100.00317.00
7.2.100.0100.00316.71
7.2.90.0060.00716.86
7.2.80.0040.00817.12
7.2.70.0030.00916.91
7.2.60.0090.00516.88
7.2.50.0030.00616.68
7.2.40.0120.00316.98
7.2.30.0090.00616.84
7.2.20.0090.00316.90
7.2.10.0030.01016.90
7.2.00.0050.00518.08
7.1.250.0090.00315.71
7.1.240.0000.01015.92
7.1.230.0060.00315.48
7.1.220.0000.01615.66
7.1.210.0080.00415.82
7.1.200.0040.00815.49
7.1.190.0060.01015.81
7.1.180.0030.01015.82
7.1.170.0060.00615.87
7.1.160.0060.00315.75
7.1.150.0060.00615.47
7.1.140.0030.00615.81
7.1.130.0090.00315.54
7.1.120.0000.01015.55
7.1.110.0040.01115.87
7.1.100.0090.00216.71
7.1.90.0030.00915.76
7.1.80.0000.00915.46
7.1.70.0060.00516.45
7.1.60.0090.00717.58
7.1.50.0110.01125.06
7.1.40.0000.01715.54
7.1.30.0070.01015.70
7.1.20.0070.00715.76
7.1.10.0060.00915.72
7.1.00.0040.04019.01
7.0.330.0090.00315.54
7.0.320.0030.00615.52
7.0.310.0060.00315.31
7.0.300.0030.01015.33
7.0.290.0100.00315.01
7.0.280.0070.00715.37
7.0.270.0070.00715.17
7.0.260.0030.01215.40
7.0.250.0030.00915.31
7.0.240.0060.00315.28
7.0.230.0070.00715.38
7.0.220.0090.00315.51
7.0.210.0030.00815.52
7.0.200.0040.00416.11
7.0.190.0070.00415.34
7.0.180.0090.00315.24
7.0.170.0000.01415.02
7.0.160.0100.00315.20
7.0.150.0100.00315.28
7.0.140.0030.04018.83
7.0.130.0040.00715.40
7.0.120.0120.00315.23
7.0.110.0030.01015.42
7.0.100.0030.00915.40
7.0.90.0080.00015.46
7.0.80.0000.01015.11
7.0.70.0080.04218.48
7.0.60.0050.04218.57
7.0.50.0050.03318.65
7.0.40.0040.04116.60
7.0.30.0030.04816.75
7.0.20.0050.04216.78
7.0.10.0030.04416.60
7.0.00.0080.04016.78
5.6.380.0040.00814.59
5.6.370.0060.00614.63
5.6.360.0090.00614.39
5.6.350.0040.00814.30
5.6.340.0070.00314.55
5.6.330.0040.01114.54
5.6.320.0060.00914.39
5.6.310.0030.01014.47
5.6.300.0030.00514.54
5.6.290.0000.00814.33
5.6.280.0060.03517.83
5.6.270.0060.00614.62
5.6.260.0040.00814.58
5.6.250.0000.01214.27
5.6.240.0030.01314.21
5.6.230.0090.00314.36
5.6.220.0050.04517.53
5.6.210.0070.04117.39
5.6.200.0040.04517.85
5.6.190.0050.04517.69
5.6.180.0060.02817.73
5.6.170.0050.04317.56
5.6.160.0050.02317.67
5.6.150.0040.02917.75
5.6.140.0030.03517.80
5.6.130.0050.03117.74
5.6.120.0030.04517.67
5.6.110.0120.04217.71
5.6.100.0130.03817.57
5.6.90.0130.03717.48
5.6.80.0090.02217.30
5.6.70.0080.04117.28
5.6.60.0040.04517.24
5.6.50.0020.04517.33
5.6.40.0050.04517.32
5.6.30.0080.03017.38
5.6.20.0050.03717.27
5.6.10.0080.04217.17
5.6.00.0060.04017.35
5.5.380.0000.01011.18
5.5.370.0000.01011.18
5.5.360.0030.03315.85
5.5.350.0050.03615.85
5.5.340.0080.03616.04
5.5.330.0050.04215.98
5.5.320.0030.02316.04
5.5.310.0020.04316.03
5.5.300.0050.04215.97
5.5.290.0050.02916.06
5.5.280.0050.04316.06
5.5.270.0050.03516.00
5.5.260.0060.03315.97
5.5.250.0110.04015.93
5.5.240.0030.04115.64
5.5.230.0050.04015.68
5.5.220.0070.02815.69
5.5.210.0050.04115.73
5.5.200.0010.04115.67
5.5.190.0000.04515.70
5.5.180.0030.04515.67
5.5.170.0030.00611.18
5.5.160.0050.04415.67
5.5.150.0070.02715.67
5.5.140.0080.02815.68
5.5.130.0020.03615.63
5.5.120.0040.04415.63
5.5.110.0050.03615.66
5.5.100.0050.03915.78
5.5.90.0020.04115.68
5.5.80.0080.04015.64
5.5.70.0050.02615.63
5.5.60.0020.04115.65
5.5.50.0030.04215.62
5.5.40.0110.03215.62
5.5.30.0030.04315.62
5.5.20.0020.03515.64
5.5.10.0070.02315.66
5.5.00.0070.03215.64
5.4.450.0050.04015.36
5.4.440.0080.04015.16
5.4.430.0050.03815.17
5.4.420.0050.03815.34
5.4.410.0050.04215.31
5.4.400.0100.03015.03
5.4.390.0010.04415.13
5.4.380.0060.03815.17
5.4.370.0070.03715.18
5.4.360.0030.04315.11
5.4.350.0090.03515.10
5.4.340.0060.03115.03
5.4.330.0100.00311.18
5.4.320.0030.04515.18
5.4.310.0020.04215.06
5.4.300.0040.04415.15
5.4.290.0020.04015.11
5.4.280.0020.03515.01
5.4.270.0020.04215.19
5.4.260.0020.02915.16
5.4.250.0050.03815.20
5.4.240.0050.03215.15
5.4.230.0020.04015.10
5.4.220.0020.04215.02
5.4.210.0050.03815.17
5.4.200.0030.04015.16
5.4.190.0070.02615.14
5.4.180.0040.03415.10
5.4.170.0050.03015.15
5.4.160.0050.03615.12
5.4.150.0000.03915.02
5.4.140.0070.02413.88
5.4.130.0110.02513.78
5.4.120.0030.03713.87
5.4.110.0000.04313.79
5.4.100.0050.03713.81
5.4.90.0000.04413.83
5.4.80.0060.02813.74
5.4.70.0070.03813.80
5.4.60.0030.03613.74
5.4.50.0020.04113.83
5.4.40.0030.03913.86
5.4.30.0020.03513.74
5.4.20.0020.04113.84
5.4.10.0050.03813.74
5.4.00.0020.04013.53
5.3.290.0070.03812.95
5.3.280.0040.03712.88
5.3.270.0060.02812.91
5.3.260.0000.04412.89
5.3.250.0100.02712.91
5.3.240.0030.04012.92
5.3.230.0020.04312.92
5.3.220.0070.03212.86
5.3.210.0030.03812.84
5.3.200.0030.03312.87
5.3.190.0060.02812.86
5.3.180.0060.03312.83
5.3.170.0020.04312.84
5.3.160.0030.03312.90
5.3.150.0020.04312.94
5.3.140.0020.02912.84
5.3.130.0070.02712.83
5.3.120.0050.04212.90
5.3.110.0020.04012.90
5.3.100.0020.03312.58
5.3.90.0030.03712.59
5.3.80.0000.04012.66
5.3.70.0030.03912.61
5.3.60.0030.04012.54
5.3.50.0030.04112.61
5.3.40.0030.02712.61
5.3.30.0100.03012.62
5.3.20.0040.03412.38
5.3.10.0000.02412.47
5.3.00.0030.02012.48
5.2.170.0050.02912.25
5.2.160.0010.03512.25
5.2.150.0040.03012.25
5.2.140.0050.03212.25
5.2.130.0010.02412.25
5.2.120.0000.03112.25
5.2.110.0020.01812.25
5.2.100.0020.02112.25
5.2.90.0040.02212.25
5.2.80.0030.02812.25
5.2.70.0010.02112.25
5.2.60.0070.02712.25
5.2.50.0070.02812.25
5.2.40.0020.03012.25
5.2.30.0050.03012.25
5.2.20.0050.03012.25
5.2.10.0030.03312.25
5.2.00.0040.02512.25
5.1.60.0020.02412.25
5.1.50.0030.02812.25
5.1.40.0050.02212.25
5.1.30.0020.03512.25
5.1.20.0020.03112.25
5.1.10.0040.01912.25
5.1.00.0040.02012.25
5.0.50.0020.02712.25
5.0.40.0010.02612.25
5.0.30.0020.03312.25
5.0.20.0010.02512.25
5.0.10.0020.02112.25
5.0.00.0020.03312.25
4.4.90.0020.01112.25
4.4.80.0020.01512.25
4.4.70.0020.01812.25
4.4.60.0000.02012.25
4.4.50.0030.02112.25
4.4.40.0030.02312.25
4.4.30.0010.01812.25
4.4.20.0020.01712.25
4.4.10.0000.01612.25
4.4.00.0020.02212.25
4.3.110.0020.01512.25
4.3.100.0000.01612.25
4.3.90.0000.01912.25
4.3.80.0030.02712.25
4.3.70.0000.02012.25
4.3.60.0030.01812.25
4.3.50.0020.01912.25
4.3.40.0000.03012.25
4.3.30.0000.01712.25
4.3.20.0050.01712.25
4.3.10.0020.01512.25
4.3.00.0020.01912.25

preferences:
45.95 ms | 400 KiB | 5 Q