3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface TotoInterface { public function test(); public function tata(); } abstract class AbstractToto implements TotoInterface { public function test() { echo 'test'; } } class Toto extends AbstractToto { public function tata() { echo 'tata'; } } $oto = new Toto();

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.0130.00618.30
8.3.50.0140.00717.97
8.3.40.0110.00418.43
8.3.30.0070.00718.59
8.3.20.0030.00518.98
8.3.10.0030.00520.96
8.3.00.0040.00423.65
8.2.180.0070.00718.27
8.2.170.0000.01422.96
8.2.160.0100.00321.09
8.2.150.0000.00824.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0070.00021.14
8.2.110.0070.00421.12
8.2.100.0040.00817.72
8.2.90.0040.00418.86
8.2.80.0000.00817.97
8.2.70.0080.00317.80
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0050.00319.47
8.2.30.0040.00419.51
8.2.20.0040.00418.04
8.2.10.0080.00018.09
8.2.00.0000.00719.39
8.1.280.0120.00625.92
8.1.270.0080.00023.82
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00620.89
8.1.230.0040.00717.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0060.00317.23
8.1.180.0110.00018.10
8.1.170.0040.00418.61
8.1.160.0040.00418.89
8.1.150.0040.00418.79
8.1.140.0040.00417.59
8.1.130.0100.00019.11
8.1.120.0030.00417.43
8.1.110.0040.00417.44
8.1.100.0040.00417.36
8.1.90.0040.00417.46
8.1.80.0040.00417.44
8.1.70.0000.00817.45
8.1.60.0080.00017.63
8.1.50.0040.00417.41
8.1.40.0000.00717.52
8.1.30.0040.00417.66
8.1.20.0070.00017.63
8.1.10.0040.00417.46
8.1.00.0040.00417.41
8.0.300.0030.00618.77
8.0.290.0000.00716.63
8.0.280.0030.00318.45
8.0.270.0070.00017.24
8.0.260.0050.00317.25
8.0.250.0040.00416.86
8.0.240.0040.00416.96
8.0.230.0070.00017.01
8.0.220.0040.00416.93
8.0.210.0030.00316.90
8.0.200.0040.00416.82
8.0.190.0000.00716.95
8.0.180.0080.00016.97
8.0.170.0000.01016.95
8.0.160.0050.00216.82
8.0.150.0030.00316.84
8.0.140.0000.00716.88
8.0.130.0000.00513.32
8.0.120.0040.00416.89
8.0.110.0040.00416.88
8.0.100.0000.00716.71
8.0.90.0070.00016.79
8.0.80.0090.00616.81
8.0.70.0000.00716.96
8.0.60.0040.00416.85
8.0.50.0050.00317.00
8.0.30.0100.01116.97
8.0.20.0160.00717.40
8.0.10.0000.00716.91
8.0.00.0160.00516.80
7.4.330.0000.00515.55
7.4.320.0030.00316.49
7.4.300.0060.00016.50
7.4.290.0000.00716.65
7.4.280.0080.00016.45
7.4.270.0030.00516.53
7.4.260.0000.00716.54
7.4.250.0040.00416.46
7.4.240.0050.00316.50
7.4.230.0000.00716.40
7.4.220.0060.00316.32
7.4.210.0100.00516.51
7.4.200.0000.00716.58
7.4.160.0070.01016.48
7.4.140.0070.01117.86
7.4.130.0100.01016.28
7.4.120.0100.01216.48
7.4.110.0090.01316.37
7.4.100.0140.00916.58
7.4.90.0150.00316.57
7.4.80.0060.01219.39
7.4.70.0130.00716.32
7.4.60.0100.00716.54
7.4.50.0110.00216.40
7.4.40.0070.01516.49
7.4.00.0040.01414.99
7.3.330.0050.00013.25
7.3.320.0030.00313.16
7.3.310.0070.00016.21
7.3.300.0000.00616.25
7.3.290.0000.00616.15
7.3.280.0090.00916.24
7.3.260.0130.00316.47
7.3.240.0080.00916.31
7.3.230.0100.00816.46
7.3.210.0120.00416.46
7.3.200.0080.00816.38
7.3.190.0060.01116.48
7.3.180.0130.00316.52
7.3.170.0060.00916.39
7.3.160.0160.00316.13
7.3.10.0100.00716.52
7.3.00.0060.00916.67
7.2.330.0150.01016.26
7.2.320.0040.01416.63
7.2.310.0100.01416.36
7.2.300.0030.01516.54
7.2.290.0130.01016.63
7.2.130.0000.01416.96
7.2.120.0140.00016.96
7.2.110.0140.00016.54
7.2.100.0080.00316.96
7.2.90.0100.00316.97
7.2.80.0060.00917.01
7.2.70.0660.00715.84
7.2.60.0720.00815.88
7.2.50.0490.01015.84
7.2.40.0420.01015.84
7.2.30.0470.00715.81
7.2.20.0450.00715.70
7.2.10.0670.00815.91
7.2.00.0460.00915.74
7.1.250.0000.01315.48
7.1.170.0920.00313.44
7.1.160.0920.00613.77
7.1.150.0820.01613.59
7.1.140.0830.01013.86
7.1.130.1000.01013.41
7.1.120.0880.01313.61
7.1.110.0910.00713.43
7.1.100.0900.00313.64
7.1.90.1540.01313.24
7.1.80.1370.01013.43
7.1.70.1390.01413.11
7.1.60.1320.01031.45
7.1.50.2270.01031.32
7.1.40.2110.00631.36
7.1.30.1990.01031.21
7.1.20.2360.01031.30
7.1.10.2000.00313.22
7.1.00.1040.00313.34

preferences:
61.04 ms | 400 KiB | 5 Q