3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Example { public function hello() { return 'hello'; } } abstract class Wibble extends Example {} class Thing extends Wibble {} print new (Thing)->hello();

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.1.70.2670.00314.96
7.1.60.2900.02733.25
7.1.50.0200.02032.96
7.1.40.2970.01032.31
7.1.30.2930.02032.53
7.1.20.2530.02032.61
7.1.10.2570.01014.41
7.1.00.0070.01014.62
7.0.200.1370.01714.60
7.0.190.0100.01314.49
7.0.180.2900.00714.12
7.0.170.1400.02014.34
7.0.160.3670.00714.16
7.0.150.2170.01314.31
7.0.140.2530.01314.37
7.0.130.3730.01714.69
7.0.120.0100.01314.66
7.0.110.0070.01714.32
7.0.100.1770.00714.32
7.0.90.0100.01314.40
7.0.80.2670.00714.17
7.0.70.4330.00314.01
7.0.60.1370.01314.09
7.0.50.0370.01714.58
7.0.40.2970.00714.23
7.0.30.0300.01014.40
7.0.20.1930.01714.34
7.0.10.0170.00714.34
7.0.00.0130.00714.46

preferences:
132.6 ms | 1398 KiB | 7 Q