3v4l.org

run code in 300+ PHP versions simultaneously
<?php $omaluokka = new class('Matti') { private $name; function __construct($name) { $this->name = $name; } public function whois() { return $this->name; } } var_dump($omaluokka->whois());

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.00.0130.04020.25
5.6.160.0100.08320.45
5.6.150.0000.07318.29
5.6.140.0030.05018.18
5.6.130.0170.06718.18
5.6.120.0200.07020.98
5.6.110.0030.07020.98
5.6.100.0070.07021.02
5.6.90.0100.03721.15
5.6.80.0100.08020.48
5.5.300.0070.07318.02
5.5.290.0070.07718.07
5.5.280.0170.04020.87
5.5.270.0170.07720.83
5.5.260.0100.06320.75
5.5.250.0070.05720.68
5.5.240.0100.04720.11

preferences:
150.42 ms | 1394 KiB | 7 Q