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 { } $foo = new Foo(); var_dump($foo->one()); var_dump($foo->two());

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.63
8.3.50.0070.01016.39
8.3.40.0110.00418.72
8.3.30.0060.00818.75
8.3.20.0040.00420.29
8.3.10.0040.00423.66
8.3.00.0000.00722.12
8.2.180.0110.01116.32
8.2.170.0070.01122.96
8.2.160.0040.01119.11
8.2.150.0090.00924.18
8.2.140.0000.00724.66
8.2.130.0060.00319.44
8.2.120.0000.00826.35
8.2.110.0090.00022.11
8.2.100.0040.00817.84
8.2.90.0050.00317.84
8.2.80.0040.00417.97
8.2.70.0040.00417.92
8.2.60.0040.00417.97
8.2.50.0030.00518.10
8.2.40.0030.00520.55
8.2.30.0020.00519.27
8.2.20.0040.00418.07
8.2.10.0000.00718.00
8.2.00.0000.00717.88
8.1.280.0150.00025.92
8.1.270.0070.00022.11
8.1.260.0070.00026.35
8.1.250.0030.00628.09
8.1.240.0060.00320.22
8.1.230.0160.00021.03
8.1.220.0030.00520.97
8.1.210.0080.00618.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0080.00018.90
8.1.160.0070.00018.91
8.1.150.0000.00820.61
8.1.140.0040.00419.52
8.1.130.0070.00018.82
8.1.120.0020.00517.45
8.1.110.0030.00517.38
8.1.100.0040.00417.29
8.1.90.0040.00417.44
8.1.80.0040.00417.32
8.1.70.0030.00317.47
8.1.60.0030.00617.49
8.1.50.0030.00517.47
8.1.40.0040.00417.36
8.1.30.0030.00617.63
8.1.20.0040.00417.47
8.1.10.0040.00417.40
8.1.00.0040.00417.34
8.0.300.0000.00821.90
8.0.290.0020.00516.63
8.0.280.0000.00718.40
8.0.270.0070.00017.24
8.0.260.0000.00716.77
8.0.250.0000.00616.98
8.0.240.0050.00216.95
8.0.230.0030.00617.03
8.0.220.0030.00316.80
8.0.210.0040.00416.81
8.0.200.0030.00316.90
8.0.190.0030.00516.98
8.0.180.0000.00716.95
8.0.170.0070.00016.88
8.0.160.0000.00816.87
8.0.150.0000.00716.78
8.0.140.0000.00716.86
8.0.130.0030.00313.27
8.0.120.0040.00416.86
8.0.110.0000.00817.01
8.0.100.0050.00316.96
8.0.90.0040.00416.95
8.0.80.0140.01016.92
8.0.70.0060.00316.79
8.0.60.0000.00816.81
8.0.50.0000.00716.75
8.0.30.0060.01117.11
8.0.20.0080.01017.40
8.0.10.0000.00816.89
8.0.00.0170.00016.51
7.4.330.0000.00515.55
7.4.320.0040.00416.54
7.4.300.0040.00416.59
7.4.290.0030.00316.55
7.4.280.0040.00416.54
7.4.270.0000.00716.48
7.4.260.0030.00316.44
7.4.250.0000.00716.52
7.4.240.0040.00416.56
7.4.230.0000.00616.63
7.4.220.0050.01316.63
7.4.210.0000.01516.41
7.4.200.0070.00016.48
7.4.160.0150.00316.61
7.4.150.0100.01317.40
7.4.140.0100.00817.86
7.4.130.0140.00716.35
7.4.120.0070.01016.47
7.4.110.0140.00316.43
7.4.100.0060.01316.50
7.4.90.0140.00316.54
7.4.80.0130.00419.39
7.4.70.0150.00016.46
7.4.60.0060.00916.53
7.4.50.0090.00416.64
7.4.40.0130.00316.54
7.4.30.0090.00616.36
7.4.00.0060.01014.95
7.3.330.0080.00013.14
7.3.320.0020.00313.30
7.3.310.0000.00716.20
7.3.300.0000.00716.31
7.3.290.0090.00616.32
7.3.280.0100.00616.29
7.3.270.0120.00617.40
7.3.260.0060.01016.25
7.3.250.0130.00816.31
7.3.240.0120.00616.46
7.3.230.0100.00716.32
7.3.210.0090.00616.50
7.3.200.0060.00916.39
7.3.190.0090.00616.38
7.3.180.0120.00416.36
7.3.170.0030.01216.32
7.3.160.0060.00916.32
7.2.330.0100.00716.41
7.2.320.0090.00816.35
7.2.310.0070.01016.60
7.2.300.0130.01016.34
7.2.290.0080.00816.27
7.2.60.0080.00816.84
7.2.00.0060.00919.32
7.1.200.0030.00715.57
7.1.100.0130.00518.08
7.1.70.0040.01817.19
7.1.60.0190.02334.96
7.1.50.0270.01634.63
7.1.40.0210.02634.29
7.1.30.0350.01434.11
7.1.20.0390.01834.48
7.1.10.0150.01016.60
7.1.00.0060.00916.42
7.0.200.0080.01316.64
7.0.190.0130.00616.72
7.0.180.0140.01216.04
7.0.170.0220.00216.28
7.0.160.0020.01616.07
7.0.150.0070.01415.87
7.0.140.0110.00816.22
7.0.130.0060.01616.29
7.0.120.0080.00916.57
7.0.110.0090.01316.04
7.0.100.0130.00916.42
7.0.90.0070.01416.18
7.0.80.0190.00216.10
7.0.70.0140.00816.27
7.0.60.0120.00615.76
7.0.50.0160.00316.16
7.0.40.0120.00816.30
7.0.30.0030.01916.39
7.0.20.0030.01616.18
7.0.10.0100.00916.45
7.0.00.0030.01616.45

preferences:
36.29 ms | 400 KiB | 5 Q