3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Test { public static function abstractMethod(); } class Child extends Test { public static function abstractMethod() { return 'testString'; } } echo Child::abstractMethod();

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)
7.0.20.0300.04320.09
7.0.10.0030.04720.16
7.0.00.0000.06020.25
5.6.170.0270.05320.53
5.6.160.0100.04020.52
5.6.150.0130.04718.18
5.6.140.0100.08018.27
5.6.130.0100.03718.14
5.6.120.0030.04021.04
5.6.110.0070.09321.00
5.6.100.0070.08321.05
5.6.90.0070.06720.95
5.6.80.0130.07320.40
5.5.310.0230.04320.30
5.5.300.0070.08018.00
5.5.290.0070.05718.02
5.5.280.0100.06320.64
5.5.270.0170.05320.77
5.5.260.0100.08020.76
5.5.250.0030.04020.76
5.5.240.0070.07720.24

preferences:
139.14 ms | 1394 KiB | 7 Q