3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFoo { public function bar(); } abstract class ABaz implements IFoo { abstract public function bar() } class CBaz implements IFoo { public function bar() { echo 'Hello!'; } } $a = new CBaz(); $a->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.310.0060.03912.51
5.4.300.0060.04912.51
5.4.290.0070.05212.51
5.4.280.0080.06512.41
5.4.270.0070.05712.41
5.4.260.0180.10112.41
5.4.250.0070.04212.41
5.4.240.0070.03512.41
5.4.230.0040.04012.40
5.4.220.0070.03612.40
5.4.210.0060.03412.40
5.4.200.0090.04212.40
5.4.190.0120.03312.40
5.4.180.0050.03612.40
5.4.170.0060.04412.40
5.4.160.0030.04112.40
5.4.150.0070.04012.39
5.4.140.0090.05012.09
5.4.130.0050.04412.07
5.4.120.0090.04012.04
5.4.110.0050.04212.03
5.4.100.0070.03412.03
5.4.90.0070.04612.03
5.4.80.0050.03712.03
5.4.70.0070.04012.03
5.4.60.0060.04112.02
5.4.50.0100.04812.03
5.4.40.0100.04012.01
5.4.30.0110.03512.01
5.4.20.0060.03712.01
5.4.10.0110.03312.01
5.4.00.0100.04011.50
5.3.290.0070.03812.80
5.3.280.0090.04412.71
5.3.270.0090.05112.72
5.3.260.0090.04512.72
5.3.250.0040.05612.72
5.3.240.0080.05612.72
5.3.230.0070.05512.71
5.3.220.0040.04712.68
5.3.210.0040.04112.68
5.3.200.0070.03812.68
5.3.190.0080.03612.68
5.3.180.0080.05012.67
5.3.170.0060.03912.67
5.3.160.0080.04412.67
5.3.150.0080.03712.68
5.3.140.0060.04212.66
5.3.130.0060.04912.65
5.3.120.0040.04612.66
5.3.110.0080.04412.66
5.3.100.0040.03812.13
5.3.90.0070.03612.11
5.3.80.0100.03812.10
5.3.70.0090.04212.10
5.3.60.0070.05012.09
5.3.50.0080.04412.02
5.3.40.0040.04012.02
5.3.30.0050.04311.99
5.3.20.0060.04711.76
5.3.10.0110.05811.74
5.3.00.0090.06811.72
5.2.170.0080.0599.22
5.2.160.0120.0299.23
5.2.150.0050.0319.22
5.2.140.0070.0279.22
5.2.130.0050.0299.18
5.2.120.0060.0289.18
5.2.110.0020.0329.18
5.2.100.0060.0399.18
5.2.90.0100.0479.18
5.2.80.0030.0439.18
5.2.70.0090.0459.18
5.2.60.0060.0449.13
5.2.50.0090.0549.11
5.2.40.0100.0509.08
5.2.30.0030.0539.05
5.2.20.0050.0459.04
5.2.10.0090.0398.95
5.2.00.0070.0418.81
5.1.60.0050.0288.09
5.1.50.0050.0338.09
5.1.40.0030.0378.07
5.1.30.0090.0258.42
5.1.20.0030.0328.45
5.1.10.0070.0248.17
5.1.00.0020.0288.17
5.0.50.0030.0216.65
5.0.40.0050.0186.51
5.0.30.0040.0316.31
5.0.20.0060.0166.28
5.0.10.0050.0216.26
5.0.00.0050.0296.26
4.4.90.0050.0144.78
4.4.80.0030.0164.75
4.4.70.0070.0264.75
4.4.60.0020.0234.75
4.4.50.0040.0204.77
4.4.40.0040.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0040.0144.85
4.4.00.0030.0254.76
4.3.110.0010.0224.66
4.3.100.0000.0294.67
4.3.90.0040.0204.63
4.3.80.0030.0284.58
4.3.70.0040.0204.63
4.3.60.0040.0204.63
4.3.50.0050.0504.62
4.3.40.0060.0354.54
4.3.30.0010.0223.28
4.3.20.0020.0223.26
4.3.10.0040.0203.22
4.3.00.0000.02015.91

preferences:
141.68 ms | 1386 KiB | 7 Q