3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFoo { public function bar(); protected function baz(); } /*abstract class ABaz implements IFoo { abstract public function bar(); } class CBaz implements IFoo { public function bar() { echo 'Hello!'; } } $a = new CBaz(); $a->bar(); */ echo 111;

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.0090.05212.50
5.4.300.0120.04912.51
5.4.290.0150.05812.51
5.4.280.0080.05212.40
5.4.270.0060.05212.40
5.4.260.0130.06912.41
5.4.250.0160.06312.40
5.4.240.0090.05712.40
5.4.230.0110.05512.39
5.4.220.0060.04912.39
5.4.210.0070.04512.39
5.4.200.0080.05012.39
5.4.190.0090.04812.39
5.4.180.0100.06012.39
5.4.170.0070.03912.40
5.4.160.0090.04412.41
5.4.150.0070.04912.39
5.4.140.0080.04912.08
5.4.130.0070.03512.07
5.4.120.0060.03612.02
5.4.110.0080.03512.02
5.4.100.0080.03612.02
5.4.90.0030.04712.02
5.4.80.0040.04312.02
5.4.70.0070.04212.02
5.4.60.0080.04112.02
5.4.50.0110.04812.02
5.4.40.0060.03812.00
5.4.30.0070.04212.01
5.4.20.0110.05412.00
5.4.10.0060.05312.00
5.4.00.0130.04511.50
5.3.290.0040.04312.80
5.3.280.0060.04712.71
5.3.270.0120.04612.72
5.3.260.0040.04412.72
5.3.250.0120.04412.72
5.3.240.0090.05212.72
5.3.230.0100.05112.71
5.3.220.0080.04412.68
5.3.210.0100.04612.68
5.3.200.0060.03812.68
5.3.190.0050.04012.68
5.3.180.0120.04812.67
5.3.170.0150.03712.67
5.3.160.0080.03912.68
5.3.150.0100.05612.67
5.3.140.0100.07312.66
5.3.130.0080.06112.66
5.3.120.0100.05812.66
5.3.110.0170.04712.65
5.3.100.0040.05112.12
5.3.90.0020.04112.10
5.3.80.0070.04012.09
5.3.70.0120.03312.10
5.3.60.0080.04012.08
5.3.50.0050.04012.02
5.3.40.0080.04912.02
5.3.30.0110.03911.98
5.3.20.0090.03511.76
5.3.10.0110.04611.73
5.3.00.0050.05311.71
5.2.170.0090.0469.21
5.2.160.0080.0409.21
5.2.150.0090.0409.21
5.2.140.0060.0319.21
5.2.130.0080.0279.17
5.2.120.0050.0309.18
5.2.110.0040.0319.18
5.2.100.0070.0289.17
5.2.90.0040.0319.17
5.2.80.0040.0329.17
5.2.70.0050.0319.17
5.2.60.0050.0309.13
5.2.50.0050.0319.10
5.2.40.0070.0289.07
5.2.30.0060.0309.04
5.2.20.0100.0369.04
5.2.10.0090.0578.94
5.2.00.0060.0378.81
5.1.60.0070.0258.09
5.1.50.0040.0278.09
5.1.40.0040.0368.06
5.1.30.0040.0268.42
5.1.20.0030.0278.43
5.1.10.0050.0288.17
5.1.00.0060.0318.16
5.0.50.0050.0286.64
5.0.40.0030.0216.50
5.0.30.0050.0376.31
5.0.20.0040.0206.28
5.0.10.0020.0216.25
5.0.00.0030.0316.24
4.4.90.0040.0144.78
4.4.80.0030.0154.75
4.4.70.0050.0134.75
4.4.60.0050.0144.76
4.4.50.0030.0154.77
4.4.40.0040.0294.71
4.4.30.0040.0164.76
4.4.20.0030.0184.84
4.4.10.0030.0164.85
4.4.00.0030.0344.76
4.3.110.0050.0194.67
4.3.100.0020.0224.66
4.3.90.0030.0224.63
4.3.80.0060.0314.59
4.3.70.0110.0184.63
4.3.60.0050.0154.62
4.3.50.0040.0164.63
4.3.40.0010.0264.54
4.3.30.0040.0203.28
4.3.20.0020.0223.26
4.3.10.0030.0213.22
4.3.00.0030.0207.20

preferences:
133.72 ms | 1386 KiB | 7 Q