3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { abstract function test() { echo 'bar'; } } class Bar extends Foo { function test() { echo 'baz'; } } $test = new Bar; $test->test();

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.190.0080.04012.39
5.4.180.0060.04112.39
5.4.170.0060.04112.41
5.4.160.0050.04112.40
5.4.150.0060.03712.40
5.4.140.0050.04512.08
5.4.130.0080.04112.07
5.4.120.0060.04112.02
5.4.110.0060.03612.02
5.4.100.0070.03512.02
5.4.90.0050.03912.02
5.4.80.0070.03712.03
5.4.70.0060.04312.02
5.4.60.0070.04212.02
5.4.50.0050.04312.02
5.4.40.0060.04012.01
5.4.30.0070.04012.00
5.4.20.0040.04212.00
5.4.10.0060.03712.00
5.4.00.0060.04311.50
5.3.270.0090.04312.72
5.3.260.0070.04512.72
5.3.250.0070.04512.72
5.3.240.0080.04412.72
5.3.230.0080.04412.71
5.3.220.0070.04112.68
5.3.210.0080.04612.68
5.3.200.0060.04412.68
5.3.190.0070.04512.68
5.3.180.0080.04912.67
5.3.170.0060.04912.67
5.3.160.0080.04612.67
5.3.150.0050.04112.68
5.3.140.0060.04412.66
5.3.130.0080.04012.66
5.3.120.0060.04112.66
5.3.110.0060.04912.66
5.3.100.0080.04312.12
5.3.90.0070.03712.10
5.3.80.0050.03812.09
5.3.70.0060.03812.09
5.3.60.0060.03712.08
5.3.50.0070.03612.02
5.3.40.0060.04212.02

preferences:
140.34 ms | 1394 KiB | 7 Q