3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Dog { public function woof(); } class Terrier implements Dog { public function woof() { echo 'woof'; } } class Staffie extends Terrier() { } $dog = new Staffie(); $dog->woof();

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.210.0090.04612.40
5.4.200.0100.04912.40
5.4.190.0080.04612.40
5.4.180.0080.04612.40
5.4.170.0110.04412.41
5.4.160.0100.04812.40
5.4.150.0070.04212.40
5.4.140.0070.04412.09
5.4.130.0080.04012.07
5.4.120.0090.03912.04
5.4.110.0070.04112.03
5.4.100.0090.04212.03
5.4.90.0080.04212.03
5.4.80.0080.03912.03
5.4.70.0090.03512.03
5.4.60.0080.03812.03
5.4.50.0080.04112.03
5.4.40.0090.04312.01
5.4.30.0100.04712.01
5.4.20.0100.04512.01
5.4.10.0090.03812.01
5.4.00.0070.04011.50
5.3.270.0090.04612.73
5.3.260.0080.05112.72
5.3.250.0080.04912.72
5.3.240.0080.04912.72
5.3.230.0100.05012.71
5.3.220.0120.05012.68
5.3.210.0100.04912.68
5.3.200.0100.04612.68
5.3.190.0100.04812.68
5.3.180.0080.04812.67
5.3.170.0080.04912.67
5.3.160.0040.05112.67
5.3.150.0080.04712.67
5.3.140.0070.04912.66
5.3.130.0090.04812.66
5.3.120.0080.04612.66
5.3.110.0070.04812.66
5.3.100.0080.04512.13
5.3.90.0100.04312.11
5.3.80.0070.04812.10
5.3.70.0090.04512.10
5.3.60.0070.04512.08
5.3.50.0070.04412.03
5.3.40.0060.04512.03

preferences:
140.58 ms | 1394 KiB | 7 Q