3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { public function __construct() { $x =& $this; $x = new stdClass; var_dump($this); $this = new stdClass; } } var_dump(new x);

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.30.0100.04016.38
5.4.20.0100.05716.64
5.4.10.0170.04316.39
5.4.00.0030.04315.84
5.3.130.0130.07014.62
5.3.120.0030.04314.54
5.3.110.0070.05014.61
5.3.100.0030.07714.09
5.3.90.0070.08014.02
5.3.80.0130.06013.90
5.3.70.0070.06014.07
5.3.60.0100.06714.01
5.3.50.0130.06714.09
5.3.40.0030.07714.01
5.3.30.0000.07713.93
5.3.20.0070.05013.71
5.3.10.0130.06713.54
5.3.00.0030.04313.63

preferences:
136.61 ms | 1394 KiB | 7 Q