3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FooInterface { public function one(); public function two(); } abstract class FooBase implements FooInterface { public function one() { return 1; } } class Foo extends FooBase { public function two() { return 2; } }

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.0120.00616.38
8.3.50.0070.00716.37
8.3.40.0070.00718.54
8.3.30.0100.00318.64
8.3.20.0000.00820.33
8.3.10.0040.00423.57
8.3.00.0040.00421.95
8.2.180.0120.00916.38
8.2.170.0080.00822.96
8.2.160.0080.00519.09
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0100.00019.20
8.2.120.0000.00726.35
8.2.110.0070.00320.22
8.2.100.0120.00017.70
8.2.90.0080.00018.89
8.2.80.0050.00317.97
8.2.70.0050.00317.25
8.2.60.0050.00317.80
8.2.50.0030.00518.10
8.2.40.0000.00820.55
8.2.30.0040.00419.16
8.2.20.0050.00217.92
8.2.10.0040.00417.86
8.2.00.0040.00417.90
8.1.280.0150.00425.92
8.1.270.0060.00322.24
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0130.00322.12
8.1.230.0110.00019.10
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0080.00018.48
8.1.160.0000.00718.89
8.1.150.0040.00418.80
8.1.140.0000.00819.50
8.1.130.0030.00318.82
8.1.120.0020.00517.44
8.1.110.0080.00017.22
8.1.100.0020.00517.43
8.1.90.0040.00417.30
8.1.80.0000.00717.24
8.1.70.0040.00417.38
8.1.60.0050.00317.54
8.1.50.0030.00617.46
8.1.40.0050.00217.32
8.1.30.0000.00817.57
8.1.20.0000.00817.48
8.1.10.0040.00417.30
8.1.00.0040.00417.35
8.0.300.0000.00818.77
8.0.290.0080.00016.63
8.0.280.0070.00018.29
8.0.270.0000.00817.18
8.0.260.0000.00716.68
8.0.250.0070.00016.84
8.0.240.0000.00716.79
8.0.230.0080.00316.84
8.0.220.0030.00316.66
8.0.210.0000.00816.86
8.0.200.0030.00516.77
8.0.190.0000.00816.79
8.0.180.0000.00716.80
8.0.170.0000.00716.86
8.0.160.0000.00816.86
8.0.150.0040.00416.85
8.0.140.0000.00716.76
8.0.130.0030.00313.20
8.0.120.0050.00216.82
8.0.110.0030.00516.65
8.0.100.0000.00716.69
8.0.90.0050.00216.89
8.0.80.0140.00316.86
8.0.70.0000.00716.93
8.0.60.0030.00516.71
8.0.50.0040.00416.88
8.0.30.0100.00716.97
8.0.20.0110.00917.40
8.0.10.0040.00416.95
8.0.00.0160.00616.73
7.4.330.0000.00615.55
7.4.320.0030.00316.54
7.4.300.0030.00316.57
7.4.290.0030.00316.43
7.4.280.0000.00816.49
7.4.270.0030.00316.45
7.4.260.0030.00316.36
7.4.250.0050.00316.38
7.4.240.0030.00416.54
7.4.230.0000.00716.62
7.4.220.0100.00716.61
7.4.210.0070.01016.30
7.4.200.0030.00316.61
7.4.160.0050.01416.44
7.4.150.0110.00617.40
7.4.140.0070.01117.86
7.4.130.0110.01216.36
7.4.120.0080.01216.34
7.4.110.0130.00616.34
7.4.100.0070.01116.37
7.4.90.0130.00416.38
7.4.80.0090.00919.39
7.4.70.0090.00616.56
7.4.60.0060.01016.43
7.4.50.0090.00616.23
7.4.40.0000.01616.39
7.4.30.0070.01016.36
7.4.00.0030.01314.81
7.3.330.0050.00313.19
7.3.320.0020.00213.09
7.3.310.0030.00316.22
7.3.300.0060.00316.10
7.3.290.0090.00616.19
7.3.280.0080.00816.21
7.3.270.0100.01017.40
7.3.260.0030.01316.33
7.3.250.0110.00816.52
7.3.240.0080.01016.33
7.3.230.0100.01016.44
7.3.210.0140.00316.31
7.3.200.0120.00316.46
7.3.190.0090.00616.54
7.3.180.0180.00316.34
7.3.170.0070.01316.57
7.3.160.0090.00616.52
7.3.120.0040.01514.93
7.3.110.0060.00614.77
7.3.100.0070.00714.66
7.3.90.0090.00614.79
7.3.80.0060.00614.79
7.3.70.0030.01014.95
7.3.60.0070.00714.59
7.3.50.0070.00714.74
7.3.40.0070.00714.92
7.3.30.0070.00714.66
7.3.20.0060.00616.76
7.3.10.0090.00716.51
7.3.00.0080.00416.47
7.2.330.0130.00316.48
7.2.320.0060.00916.32
7.2.310.0110.00516.35
7.2.300.0130.01016.60
7.2.290.0060.01216.30
7.2.250.0060.01214.75
7.2.240.0070.01115.08
7.2.230.0070.01015.14
7.2.220.0060.00315.10
7.2.210.0070.00714.64
7.2.200.0100.00714.93
7.2.190.0060.00914.67
7.2.180.0070.01014.68
7.2.170.0140.00314.78
7.2.60.0030.01415.94
7.2.00.0070.00719.14
7.1.330.0040.01115.59
7.1.320.0030.00615.64
7.1.310.0030.01315.71
7.1.300.0120.00315.57
7.1.290.0040.01215.66
7.1.280.0000.01415.68
7.1.270.0030.00915.55
7.1.260.0070.01015.71
7.1.200.0100.00315.64
7.1.100.0080.00818.15
7.1.70.0110.01117.06
7.1.60.0300.01035.05
7.1.50.0250.01434.49
7.1.40.0360.00634.33
7.1.30.0330.00734.35
7.1.20.0200.02234.69
7.1.10.0050.01116.52
7.1.00.0090.00916.47
7.0.200.0080.01016.63
7.0.190.0000.01916.72
7.0.180.0060.01416.05
7.0.170.0170.00316.28
7.0.160.0100.00916.18
7.0.150.0110.00516.15
7.0.140.0030.01216.34
7.0.130.0110.01116.48
7.0.120.0080.01216.29
7.0.110.0000.01716.05
7.0.100.0000.01815.96
7.0.90.0000.01816.25
7.0.80.0030.01516.25
7.0.70.0040.01616.17
7.0.60.0080.01016.05
7.0.50.0090.01316.12
7.0.40.0070.01116.11
7.0.30.0000.01616.39
7.0.20.0080.01116.17
7.0.10.0110.01016.18
7.0.00.0120.00316.34

preferences:
38.06 ms | 400 KiB | 5 Q