3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class foo { public function zzz() {} abstract protected static function bar(); abstract protected static function baz(); public function ggg() {} /* Strict Standards: Static function foo::bar() should not be abstract in filename on line n */ } class boo extends foo { protected static function bar() {} protected static function baz() {} } $b = new boo;

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.00718.15
8.3.50.0070.00716.12
8.3.40.0100.01018.71
8.3.30.0160.00318.48
8.3.20.0030.00620.04
8.3.10.0040.00423.64
8.3.00.0080.00023.65
8.2.180.0110.01118.18
8.2.170.0070.01022.96
8.2.160.0070.00720.21
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00820.90
8.2.120.0050.00326.35
8.2.110.0030.00622.16
8.2.100.0070.00417.91
8.2.90.0000.00917.63
8.2.80.0000.00917.97
8.2.70.0000.00817.90
8.2.60.0060.00317.80
8.2.50.0030.00618.10
8.2.40.0000.00820.52
8.2.30.0000.00820.68
8.2.20.0000.00817.59
8.2.10.0040.00417.84
8.2.00.0030.00617.91
8.1.280.0080.00825.92
8.1.270.0120.00320.28
8.1.260.0040.00428.09
8.1.250.0110.00428.09
8.1.240.0060.00323.78
8.1.230.0040.00719.00
8.1.220.0000.00817.74
8.1.210.0070.00418.77
8.1.200.0050.00517.25
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00618.62
8.1.160.0000.00720.68
8.1.150.0000.00918.73
8.1.140.0040.00419.46
8.1.130.0030.00317.69
8.1.120.0040.00317.29
8.1.110.0080.00017.40
8.1.100.0000.00717.39
8.1.90.0040.00317.39
8.1.80.0000.00717.38
8.1.70.0040.00417.27
8.1.60.0040.00417.46
8.1.50.0050.00317.48
8.1.40.0040.00417.42
8.1.30.0040.00417.59
8.1.20.0000.00817.61
8.1.10.0090.00017.49
8.1.00.0040.00417.29
8.0.300.0040.00419.54
8.0.290.0000.00916.63
8.0.280.0030.00318.29
8.0.270.0040.00417.18
8.0.260.0030.00317.17
8.0.250.0060.00016.91
8.0.240.0070.00316.90
8.0.230.0030.00316.89
8.0.220.0030.00316.83
8.0.210.0000.00916.83
8.0.200.0000.00716.79
8.0.190.0070.00016.84
8.0.180.0040.00416.88
8.0.170.0040.00416.78
8.0.160.0000.00716.72
8.0.150.0040.00416.75
8.0.140.0040.00716.76
8.0.130.0060.00013.33
8.0.120.0040.00416.84
8.0.110.0040.00416.76
8.0.100.0000.00716.73
8.0.90.0040.00416.87
8.0.80.0100.00316.74
8.0.70.0060.00316.82
8.0.60.0000.00816.73
8.0.50.0030.00516.68
8.0.30.0090.01217.06
8.0.20.0120.00617.40
8.0.10.0050.00316.74
8.0.00.0130.00716.55
7.4.330.0050.00016.84
7.4.320.0070.00016.46
7.4.300.0030.00316.57
7.4.290.0030.00316.38
7.4.280.0000.00816.50
7.4.270.0030.00316.32
7.4.260.0030.00316.36
7.4.250.0000.00816.54
7.4.240.0050.00216.50
7.4.230.0030.00316.35
7.4.220.0110.00716.39
7.4.210.0070.00816.47
7.4.200.0070.00016.54
7.4.160.0110.01116.63
7.4.150.0060.01317.40
7.4.140.0050.01317.86
7.4.130.0110.00616.47
7.4.120.0090.00916.46
7.4.110.0100.00716.45
7.4.100.0110.00616.39
7.4.90.0130.00316.50
7.4.80.0060.01219.39
7.4.70.0140.00316.43
7.4.60.0100.00616.33
7.4.50.0130.00316.45
7.4.40.0120.00916.52
7.4.30.0040.01416.68
7.4.00.0040.01314.97
7.3.330.0050.00013.00
7.3.320.0030.00313.19
7.3.310.0070.00016.02
7.3.300.0040.00416.04
7.3.290.0080.00716.16
7.3.280.0090.00716.16
7.3.270.0100.01417.40
7.3.260.0100.00616.41
7.3.250.0110.00816.29
7.3.240.0060.01116.29
7.3.230.0100.00716.39
7.3.210.0130.00316.19
7.3.200.0060.01516.52
7.3.190.0110.00516.32
7.3.180.0110.00716.39
7.3.170.0120.00916.44
7.3.160.0130.01016.35
7.3.120.0100.01014.65
7.3.110.0140.00414.53
7.3.100.0060.01214.20
7.3.90.0140.00414.45
7.3.80.0000.01714.73
7.3.70.0030.00914.40
7.3.60.0090.00314.70
7.3.50.0080.00814.42
7.3.40.0040.01414.43
7.3.30.0000.01114.39
7.3.20.0060.00616.48
7.3.10.0040.01116.43
7.3.00.0030.01316.59
7.2.330.0120.00616.66
7.2.320.0150.00916.29
7.2.310.0080.00816.41
7.2.300.0070.01016.65
7.2.290.0070.01416.61
7.2.250.0030.01314.79
7.2.240.0090.00915.07
7.2.230.0030.01214.77
7.2.220.0100.00614.75
7.2.210.0040.01115.02
7.2.200.0040.00414.61
7.2.190.0000.01215.05
7.2.180.0060.01015.09
7.2.170.0090.00914.90
7.2.80.0030.01316.11
7.2.60.0040.01116.58
7.2.00.0000.01319.30
7.1.330.0060.00615.65
7.1.320.0100.00315.35
7.1.310.0070.00715.54
7.1.300.0060.00615.56
7.1.290.0110.00415.37
7.1.280.0030.00515.70
7.1.270.0090.00015.59
7.1.260.0060.00315.60
7.1.200.0030.01015.65
7.1.100.0170.01317.92
7.1.70.0070.00417.01
7.1.60.0070.00719.52
7.1.50.0000.02016.95
7.1.00.0070.07322.32
7.0.200.0000.01116.50
7.0.60.0100.05319.93
7.0.50.0070.06017.90
7.0.40.0100.08320.13
7.0.30.0230.07320.06
7.0.20.0230.06020.12
7.0.10.0030.08720.06
7.0.00.0170.08020.09
5.6.280.0030.04321.03
5.6.210.0000.05720.47
5.6.200.0100.06718.18
5.6.190.0070.04020.64
5.6.180.0330.06720.42
5.6.170.0400.03720.47
5.6.160.0070.08320.59
5.6.150.0100.04718.16
5.6.140.0000.04718.23
5.6.130.0070.08018.19
5.6.120.0130.07721.02
5.6.110.0100.08021.02
5.6.100.0070.06021.14
5.6.90.0100.05321.01
5.6.80.0170.06720.54
5.5.350.0330.06720.33
5.5.340.0000.04317.95
5.5.330.0170.07020.35
5.5.320.0370.05720.35
5.5.310.0300.03320.34
5.5.300.0100.07718.08
5.5.290.0100.04017.98
5.5.280.0170.07320.88
5.5.270.0170.06020.77
5.5.260.0130.07720.90
5.5.250.0100.07320.71
5.5.240.0200.06020.35

preferences:
57.72 ms | 400 KiB | 5 Q