3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { protected function yes(); } abstract class Bar implements Foo { } class Baz extends Bar { }

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)
5.4.320.0030.04112.51
5.4.310.0090.03612.50
5.4.300.0080.03412.50
5.4.290.0050.04612.50
5.4.280.0070.03412.39
5.4.270.0060.03612.39
5.4.260.0100.03312.39
5.4.250.0060.03712.40
5.4.240.0110.03512.39
5.4.230.0040.04212.39
5.4.220.0050.04012.39
5.4.210.0120.04712.39
5.4.200.0060.03912.39
5.4.190.0100.03912.38
5.4.180.0070.03612.38
5.4.170.0060.03712.40
5.4.160.0080.03412.39
5.4.150.0020.04012.39
5.4.140.0050.03812.08
5.4.130.0060.03712.06
5.4.120.0040.03812.02
5.4.110.0130.04412.01
5.4.100.0070.03712.01
5.4.90.0110.03412.02
5.4.80.0050.03812.02
5.4.70.0040.03812.01
5.4.60.0040.04612.01
5.4.50.0110.03212.01
5.4.40.0050.03712.00
5.4.30.0050.03912.00
5.4.20.0110.03712.00
5.4.10.0090.04812.00
5.4.00.0130.04411.49
5.3.290.0060.04012.80
5.3.280.0050.04012.71
5.3.270.0050.04212.72
5.3.260.0070.04912.71
5.3.250.0050.04212.72
5.3.240.0050.04012.72
5.3.230.0070.03712.71
5.3.220.0060.03812.68
5.3.210.0040.04212.68
5.3.200.0090.04812.68
5.3.190.0050.04012.68
5.3.180.0050.03712.67
5.3.170.0120.03412.67
5.3.160.0070.03612.67
5.3.150.0050.03812.68
5.3.140.0040.03812.66
5.3.130.0060.03812.66
5.3.120.0050.03912.66
5.3.110.0070.03812.66
5.3.100.0060.03812.12
5.3.90.0040.03812.10
5.3.80.0060.03612.08
5.3.70.0070.03512.09
5.3.60.0020.04012.07
5.3.50.0080.03512.02
5.3.40.0060.03712.02
5.3.30.0060.03811.99
5.3.20.0050.03911.75
5.3.10.0070.03311.73
5.3.00.0030.03911.71
5.2.170.0080.0279.21
5.2.160.0070.0279.21
5.2.150.0050.0309.21
5.2.140.0070.0299.21
5.2.130.0050.0289.17
5.2.120.0050.0299.17
5.2.110.0050.0299.18
5.2.100.0030.0309.17
5.2.90.0040.0309.17
5.2.80.0030.0329.16
5.2.70.0050.0309.16
5.2.60.0060.0389.12
5.2.50.0090.0279.09
5.2.40.0090.0259.07
5.2.30.0030.0319.04
5.2.20.0040.0299.03
5.2.10.0030.0378.93
5.2.00.0040.0308.80
5.1.60.0040.0248.09
5.1.50.0040.0258.08
5.1.40.0050.0248.06
5.1.30.0030.0288.41
5.1.20.0040.0268.43
5.1.10.0040.0278.15
5.1.00.0030.0358.16
5.0.50.0060.0266.63
5.0.40.0040.0206.49
5.0.30.0050.0296.30
5.0.20.0060.0176.27
5.0.10.0050.0186.25
5.0.00.0030.0316.24
4.4.90.0010.0174.78
4.4.80.0010.0174.76
4.4.70.0010.0184.76
4.4.60.0020.0164.76
4.4.50.0040.0144.77
4.4.40.0030.0254.70
4.4.30.0040.0144.76
4.4.20.0010.0224.85
4.4.10.0030.0174.85
4.4.00.0030.0244.76
4.3.110.0040.0214.67
4.3.100.0060.0184.66
4.3.90.0030.0164.64
4.3.80.0020.0304.58
4.3.70.0050.0144.63
4.3.60.0090.0144.63
4.3.50.0040.0204.63
4.3.40.0040.0244.53
4.3.30.0030.0153.28
4.3.20.0020.0163.26
4.3.10.0020.0153.21
4.3.00.0070.02016.39

preferences:
134.15 ms | 1394 KiB | 7 Q