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'; } public function tata() { echo $this->getTiti(); } abstract protected function getTiti(); } 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.0090.00618.36
8.3.50.0140.00718.07
8.3.40.0090.00618.71
8.3.30.0110.00418.71
8.3.20.0080.00019.00
8.3.10.0080.00020.63
8.3.00.0040.00423.31
8.2.180.0140.00418.04
8.2.170.0070.01418.96
8.2.160.0070.00722.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00020.94
8.2.120.0040.00426.35
8.2.110.0030.00621.11
8.2.100.0080.00417.78
8.2.90.0030.00518.89
8.2.80.0000.00917.97
8.2.70.0000.00817.90
8.2.60.0080.00017.91
8.2.50.0000.00918.10
8.2.40.0050.00319.34
8.2.30.0040.00419.43
8.2.20.0040.00417.87
8.2.10.0000.00717.99
8.2.00.0000.00819.22
8.1.280.0160.00325.92
8.1.270.0080.00023.86
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0110.00720.93
8.1.230.0040.00717.71
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0080.00317.23
8.1.190.0040.00417.09
8.1.180.0070.00018.10
8.1.170.0040.00418.65
8.1.160.0040.00418.73
8.1.150.0060.00318.75
8.1.140.0040.00417.53
8.1.130.0030.00618.93
8.1.120.0030.00317.35
8.1.110.0040.00417.40
8.1.100.0030.00617.42
8.1.90.0040.00417.41
8.1.80.0030.00517.41
8.1.70.0000.00717.41
8.1.60.0000.00717.49
8.1.50.0090.00017.33
8.1.40.0050.00217.50
8.1.30.0040.00417.64
8.1.20.0040.00417.57
8.1.10.0040.00417.38
8.1.00.0080.00017.36
8.0.300.0040.00418.77
8.0.290.0040.00416.60
8.0.280.0070.00018.38
8.0.270.0000.00717.06
8.0.260.0000.00617.04
8.0.250.0000.00816.94
8.0.240.0000.00816.88
8.0.230.0000.00916.79
8.0.220.0000.00716.95
8.0.210.0000.00816.78
8.0.200.0070.00017.00
8.0.190.0040.00416.84
8.0.180.0000.00816.85
8.0.170.0040.00416.80
8.0.160.0040.00416.92
8.0.150.0030.00516.85
8.0.140.0000.00716.73
8.0.130.0000.00613.34
8.0.120.0000.00716.77
8.0.110.0000.00817.00
8.0.100.0070.00016.84
8.0.90.0000.00716.67
8.0.80.0090.01016.91
8.0.70.0000.00816.91
8.0.60.0000.00816.93
8.0.50.0000.00816.90
8.0.30.0080.01017.17
8.0.20.0110.00817.40
8.0.10.0070.00016.88
8.0.00.0070.01116.70
7.4.330.0000.00515.55
7.4.320.0060.00016.54
7.4.300.0000.00616.55
7.4.290.0000.00716.54
7.4.280.0000.00916.32
7.4.270.0040.00416.48
7.4.260.0000.00716.39
7.4.250.0000.00716.48
7.4.240.0000.00816.35
7.4.230.0040.00416.34
7.4.220.0000.01016.25
7.4.210.0090.00816.55
7.4.200.0050.00216.52
7.4.160.0140.00316.61
7.4.140.0100.00917.86
7.4.130.0110.01416.36
7.4.120.0080.01216.36
7.4.110.0090.00816.59
7.4.100.0090.00916.61
7.4.90.0030.01316.47
7.4.80.0180.00419.39
7.4.70.0070.01016.41
7.4.60.0030.01316.49
7.4.50.0050.00916.28
7.4.40.0120.01216.50
7.4.00.0030.01214.75
7.3.330.0000.00513.32
7.3.320.0060.00013.30
7.3.310.0050.00216.28
7.3.300.0060.00016.31
7.3.290.0000.00716.16
7.3.280.0090.00516.31
7.3.260.0060.01116.41
7.3.240.0070.01116.41
7.3.230.0110.00616.34
7.3.210.0110.00616.46
7.3.200.0120.00916.50
7.3.190.0100.00716.24
7.3.180.0070.01016.50
7.3.170.0110.01116.39
7.3.160.0120.00316.28
7.3.10.0040.00916.50
7.3.00.0090.00216.56
7.2.330.0130.01016.48
7.2.320.0070.01116.46
7.2.310.0090.00916.49
7.2.300.0090.00916.47
7.2.290.0060.01616.46
7.2.130.0030.00716.80
7.2.120.0040.01116.59
7.2.110.0070.00716.63
7.2.100.0060.00516.79
7.2.90.0080.00916.76
7.2.80.0070.00816.74
7.2.70.0520.00816.14
7.2.60.0580.00616.10
7.2.50.0440.00516.03
7.2.40.0530.00915.90
7.2.30.0460.00715.99
7.2.20.0410.00716.10
7.2.10.0540.00915.99
7.2.00.0400.00916.05
7.1.250.0030.00815.43
7.1.200.0040.00815.75
7.1.170.1400.01313.54
7.1.160.1250.00613.48
7.1.150.1180.00713.55
7.1.140.1440.00313.76
7.1.130.1530.00313.73
7.1.120.0270.00713.61
7.1.110.1320.00613.66
7.1.100.0060.01613.71
7.1.90.0770.00313.52
7.1.80.1110.01613.41
7.1.70.1570.00613.32
7.1.60.1890.01031.34
7.1.50.1470.00731.45
7.1.40.1850.00731.44
7.1.30.1830.01331.66
7.1.20.0780.01631.48
7.1.10.0120.00612.97
7.1.00.0260.01113.64

preferences:
60.9 ms | 400 KiB | 5 Q