3v4l.org

run code in 300+ PHP versions simultaneously
<?php class super { public function a() { static::b(); } private function b() { print "super\n"; } } class sub extends super { private function b() { print "sub\n"; } } $obj = new sub(); $obj->a();

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.30
8.3.50.0090.00822.05
8.3.40.0140.00619.02
8.3.30.0120.00318.84
8.3.20.0040.00418.90
8.3.10.0040.00420.94
8.3.00.0000.01021.65
8.2.180.0070.01416.50
8.2.170.0030.01422.96
8.2.160.0040.01120.41
8.2.150.0030.00624.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00419.24
8.2.110.0030.00720.28
8.2.100.0120.00017.84
8.2.90.0040.00419.05
8.2.80.0040.00418.04
8.2.70.0040.00417.50
8.2.60.0040.00417.90
8.2.50.0000.00818.07
8.2.40.0000.00818.22
8.2.30.0000.00919.84
8.2.20.0000.00717.70
8.2.10.0070.00017.68
8.2.00.0080.00017.78
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.33
8.1.230.0080.00421.02
8.1.220.0050.00318.77
8.1.210.0080.00018.84
8.1.200.0030.00617.36
8.1.190.0030.00519.32
8.1.180.0050.00318.10
8.1.170.0080.00018.48
8.1.160.0070.00018.82
8.1.150.0040.00418.61
8.1.140.0040.00417.39
8.1.130.0000.00717.79
8.1.120.0000.00717.30
8.1.110.0040.00417.44
8.1.100.0050.00317.43
8.1.90.0040.00417.39
8.1.80.0040.00417.35
8.1.70.0000.00717.31
8.1.60.0000.00717.58
8.1.50.0040.00417.45
8.1.40.0030.00517.43
8.1.30.0050.00317.61
8.1.20.0040.00417.62
8.1.10.0000.00817.43
8.1.00.0030.00617.51
8.0.300.0000.00819.87
8.0.290.0040.00417.18
8.0.280.0000.00718.29
8.0.270.0030.00317.14
8.0.260.0030.00316.85
8.0.250.0040.00416.86
8.0.240.0040.00416.99
8.0.230.0030.00316.91
8.0.220.0030.00316.86
8.0.210.0030.00316.93
8.0.200.0030.00316.81
8.0.190.0030.00316.99
8.0.180.0040.00416.94
8.0.170.0050.00216.92
8.0.160.0000.00716.92
8.0.150.0000.00816.81
8.0.140.0040.00716.89
8.0.130.0030.00313.32
8.0.120.0000.00816.73
8.0.110.0040.00416.70
8.0.100.0040.00416.77
8.0.90.0040.00416.70
8.0.80.0060.00916.77
8.0.70.0040.00416.93
8.0.60.0040.00416.68
8.0.50.0040.00416.89
8.0.30.0130.00917.13
8.0.20.0110.01117.43
8.0.10.0050.00317.00
8.0.00.0120.00916.83
7.4.330.0000.00513.43
7.4.320.0000.00616.39
7.4.300.0030.00316.49
7.4.290.0080.00016.51
7.4.280.0040.00416.63
7.4.270.0040.00416.52
7.4.260.0030.00313.26
7.4.250.0000.00716.48
7.4.240.0070.00016.55
7.4.230.0070.00016.54
7.4.220.0150.00916.64
7.4.210.0090.00916.56
7.4.200.0040.00416.61
7.4.190.0030.00316.55
7.4.160.0130.00316.40
7.4.150.0140.00317.40
7.4.140.0100.01117.86
7.4.130.0080.00816.59
7.4.120.0060.01116.49
7.4.110.0100.00916.46
7.4.100.0060.01316.56
7.4.90.0170.00016.44
7.4.80.0030.01319.37
7.4.70.0140.00316.36
7.4.60.0060.00916.55
7.4.50.0030.00616.64
7.4.40.0100.00622.27
7.4.30.0130.00316.55
7.4.00.0070.01114.83
7.3.330.0020.00213.39
7.3.320.0000.00513.16
7.3.310.0030.00316.36
7.3.300.0040.00416.25
7.3.290.0140.00716.38
7.3.280.0090.00716.38
7.3.270.0140.00417.40
7.3.260.0100.00718.24
7.3.250.0080.01016.43
7.3.240.0150.00016.38
7.3.230.0100.00616.52
7.3.210.0080.00816.40
7.3.200.0120.00419.39
7.3.190.0040.01816.31
7.3.180.0110.00616.29
7.3.170.0080.00816.45
7.3.160.0130.00316.50
7.3.120.0080.00814.60
7.3.110.0090.00614.73
7.3.100.0060.00914.90
7.3.90.0040.00814.64
7.3.80.0070.00714.99
7.3.70.0020.01014.80
7.3.60.0070.00614.52
7.3.50.0080.00514.86
7.3.40.0070.00814.65
7.3.30.0030.01014.65
7.3.20.0060.00516.55
7.3.10.0090.00416.52
7.3.00.0050.00716.47
7.2.330.0150.00316.64
7.2.320.0110.00616.56
7.2.310.0090.01416.66
7.2.300.0090.00716.53
7.2.290.0060.00916.33
7.2.250.0100.00915.15
7.2.240.0090.00714.86
7.2.230.0010.01314.93
7.2.220.0060.00514.76
7.2.210.0080.00814.76
7.2.200.0070.00614.83
7.2.190.0080.00614.90
7.2.180.0030.01014.83
7.2.170.0020.01214.90
7.2.160.0060.00814.78
7.2.150.0050.00916.77
7.2.140.0070.00816.65
7.2.130.0060.00716.76
7.2.120.0060.00516.67
7.2.110.0040.01016.71
7.2.100.0060.00816.76
7.2.90.0040.01116.83
7.2.80.0030.00916.77
7.2.70.0040.01016.75
7.2.60.0070.00716.72
7.2.50.0060.00816.81
7.2.40.0060.00816.79
7.2.30.0070.00716.66
7.2.20.0090.00716.73
7.2.10.0050.01016.79
7.2.00.0090.00516.76
7.1.330.0060.00815.51
7.1.320.0020.01015.68
7.1.310.0070.01015.62
7.1.300.0060.00715.51
7.1.290.0030.00915.63
7.1.280.0010.01215.50
7.1.270.0040.01115.67
7.1.260.0030.00915.59
7.1.250.0040.00915.66
7.1.240.0030.01015.59
7.1.230.0140.00015.35
7.1.220.0000.00815.69
7.1.210.0080.00815.64
7.1.200.0060.00815.64
7.1.190.0080.00015.74
7.1.180.0110.00415.39
7.1.170.0090.00615.78
7.1.160.0110.00015.71
7.1.150.0080.00315.57
7.1.140.0040.01115.73
7.1.130.0090.00615.52
7.1.120.0030.01215.66
7.1.110.0030.00615.53
7.1.100.0030.01415.74
7.1.90.0070.01015.32
7.1.80.0030.01315.70
7.1.70.0050.00616.13
7.1.60.0100.00817.42
7.1.50.0080.01116.29
7.1.40.0070.00715.35
7.1.30.0000.01515.62
7.1.20.0030.01415.41
7.1.10.0030.00915.64
7.1.00.0030.03318.99
7.0.330.0040.00415.00
7.0.320.0070.00415.36
7.0.310.0120.00015.07
7.0.300.0050.00515.16
7.0.290.0070.00715.50
7.0.280.0070.00415.13
7.0.270.0060.00915.03
7.0.260.0110.00415.40
7.0.250.0070.00715.37
7.0.240.0030.01415.50
7.0.230.0030.01415.40
7.0.220.0000.01115.46
7.0.210.0040.00415.43
7.0.200.0020.00816.00
7.0.190.0070.00715.32
7.0.180.0050.00815.30
7.0.170.0070.01115.14
7.0.160.0060.01215.03
7.0.150.0050.00815.21
7.0.140.0040.04218.71
7.0.130.0060.01215.35
7.0.120.0040.01115.23
7.0.110.0060.00615.12
7.0.100.0070.00715.36
7.0.90.0090.00315.05
7.0.80.0090.00615.41
7.0.70.0030.04318.35
7.0.60.0100.03818.54
7.0.50.0030.04618.75
7.0.40.0040.03216.57
7.0.30.0050.04516.60
7.0.20.0070.03516.67
7.0.10.0070.04316.67
7.0.00.0020.05116.68
5.6.400.0030.01414.13
5.6.390.0060.00314.40
5.6.380.0070.00714.28
5.6.370.0060.00614.21
5.6.360.0000.00914.29
5.6.350.0070.00714.32
5.6.340.0090.00314.35
5.6.330.0090.00614.64
5.6.320.0100.00714.50
5.6.310.0140.00014.34
5.6.300.0030.01014.39
5.6.290.0060.00914.15
5.6.280.0080.03717.56
5.6.270.0030.01014.20
5.6.260.0040.01214.26
5.6.250.0060.00614.46
5.6.240.0100.00014.33
5.6.230.0090.00614.26
5.6.220.0030.04517.51
5.6.210.0050.04017.56
5.6.200.0040.04817.76
5.6.190.0020.04617.50
5.6.180.0030.03317.65
5.6.170.0080.04717.57
5.6.160.0000.04517.73
5.6.150.0080.03017.53
5.6.140.0100.03717.83
5.6.130.0070.03817.80
5.6.120.0020.05317.56
5.6.110.0050.03017.56
5.6.100.0110.04217.70
5.6.90.0040.04417.75
5.6.80.0030.04617.48
5.6.70.0090.03417.25
5.6.60.0030.03317.21
5.6.50.0050.04317.26
5.6.40.0070.04217.41
5.6.30.0060.04417.32
5.6.20.0050.04017.35
5.6.10.0080.03817.30
5.6.00.0080.03817.40
5.5.380.0040.00714.21
5.5.370.0060.01014.18
5.5.360.0100.04317.24
5.5.350.0060.04117.12
5.5.340.0070.02217.68
5.5.330.0030.04517.52
5.5.320.0090.02917.53
5.5.310.0070.04617.50
5.5.300.0100.03317.66
5.5.290.0150.02817.51
5.5.280.0070.04117.50
5.5.270.0080.03017.61
5.5.260.0030.03617.55
5.5.250.0030.03017.49
5.5.240.0050.04317.13
5.5.230.0030.04417.19
5.5.220.0060.04017.20
5.5.210.0050.04517.24
5.5.200.0080.03017.00
5.5.190.0050.04317.21
5.5.180.0040.02717.23
5.5.170.0070.00714.18
5.5.160.0060.04317.31
5.5.150.0070.04017.13
5.5.140.0050.02717.07
5.5.130.0070.03817.05
5.5.120.0020.04117.20
5.5.110.0050.04017.17
5.5.100.0050.04217.18
5.5.90.0080.03117.14
5.5.80.0020.04017.14
5.5.70.0050.04517.22
5.5.60.0080.04317.24
5.5.50.0080.03317.25
5.5.40.0080.02117.15
5.5.30.0010.03417.22
5.5.20.0060.02916.95
5.5.10.0050.02517.02
5.5.00.0100.03817.15
5.4.450.0000.03215.34
5.4.440.0050.04215.24
5.4.430.0020.02615.32
5.4.420.0050.04215.37
5.4.410.0050.04315.27
5.4.400.0070.02915.13
5.4.390.0020.04215.19
5.4.380.0030.04515.20
5.4.370.0030.04315.22
5.4.360.0020.03115.12
5.4.350.0050.04015.03
5.4.340.0040.04115.15
5.4.330.0030.00711.20
5.4.320.0060.03615.22
5.4.310.0050.03615.22
5.4.300.0060.03315.18
5.4.290.0010.02815.14
5.4.280.0050.03615.20
5.4.270.0050.02815.15
5.4.260.0090.03715.12
5.4.250.0050.04515.20
5.4.240.0030.04215.14
5.4.230.0060.03815.19
5.4.220.0090.03315.12
5.4.210.0050.02815.12
5.4.200.0050.02715.04
5.4.190.0050.02815.12
5.4.180.0030.02815.19
5.4.170.0060.02315.12
5.4.160.0050.03815.16
5.4.150.0030.03815.01
5.4.140.0040.03013.86
5.4.130.0030.04013.85
5.4.120.0060.04013.84
5.4.110.0030.02813.86
5.4.100.0040.03713.87
5.4.90.0020.04213.81
5.4.80.0020.04313.82
5.4.70.0030.02313.88
5.4.60.0020.02413.82
5.4.50.0030.04113.78
5.4.40.0020.04313.81
5.4.30.0020.04413.74
5.4.20.0040.04213.72
5.4.10.0030.03413.84
5.4.00.0060.03613.53
5.3.290.0010.02912.94
5.3.280.0020.04512.89
5.3.270.0050.03812.94
5.3.260.0030.04212.90
5.3.250.0020.03812.96
5.3.240.0100.03012.91
5.3.230.0020.04412.93
5.3.220.0050.03612.85
5.3.210.0070.02512.85
5.3.200.0000.02912.91
5.3.190.0000.04312.94
5.3.180.0020.03812.88
5.3.170.0030.04412.93
5.3.160.0020.04612.94
5.3.150.0060.03012.88
5.3.140.0000.03112.85
5.3.130.0060.03812.92
5.3.120.0040.04312.88
5.3.110.0060.03612.93
5.3.100.0050.02512.64
5.3.90.0030.04112.58
5.3.80.0020.04212.59
5.3.70.0030.04212.63
5.3.60.0030.04012.57
5.3.50.0020.04112.57
5.3.40.0050.02212.64
5.3.30.0020.04412.54
5.3.20.0050.04212.48
5.3.10.0000.04312.42
5.3.00.0030.03812.43
5.2.170.0000.06012.84
5.2.160.0000.04012.84
5.2.150.0070.05712.84
5.2.140.0030.06712.84
5.2.130.0000.04312.84
5.2.120.0000.04012.84
5.2.110.0030.06012.84
5.2.100.0000.06312.84
5.2.90.0000.05712.84
5.2.80.0030.06312.84
5.2.70.0000.06712.84
5.2.60.0000.06012.84
5.2.50.0000.06012.84
5.2.40.0070.03712.84
5.2.30.0000.03312.84
5.2.20.0030.03312.84
5.2.10.0000.05312.84
5.2.00.0070.05712.84
5.1.60.0000.04012.84
5.1.50.0030.02312.84
5.1.40.0030.03012.84
5.1.30.0030.02712.84
5.1.20.0070.05012.84
5.1.10.0030.05012.84
5.1.00.0030.05712.84
5.0.50.0030.04012.84
5.0.40.0000.05012.84
5.0.30.0030.05012.84
5.0.20.0000.04312.84
5.0.10.0030.04012.84
5.0.00.0000.06312.84
4.4.90.0070.02712.84
4.4.80.0000.02712.84
4.4.70.0000.03712.84
4.4.60.0070.03012.84
4.4.50.0030.03312.84
4.4.40.0030.02312.84
4.4.30.0030.01712.84
4.4.20.0000.04012.84
4.4.10.0030.03312.84
4.4.00.0000.05312.84
4.3.110.0030.02712.84
4.3.100.0070.03012.84
4.3.90.0030.02712.84
4.3.80.0030.04312.84
4.3.70.0030.03312.84
4.3.60.0000.03012.84
4.3.50.0000.02312.84
4.3.40.0000.05312.84
4.3.30.0030.02012.84
4.3.20.0000.04012.84
4.3.10.0000.04012.84
4.3.00.0070.03312.84

preferences:
37.94 ms | 401 KiB | 5 Q