3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MemoryLeak { public function __construct() { $this->things[] = $this; } } for ($i = 0; $i < 100000; ++$i) { $obj = new MemoryLeak(); }

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)
8.3.130.0040.00417.09
8.3.120.0100.01016.91
8.3.110.0030.00718.38
8.3.50.0030.00616.92
8.2.250.0040.00416.82
8.2.240.0050.00516.80
8.2.230.0050.00316.59
8.1.300.0230.02924.24

preferences:
23.87 ms | 403 KiB | 5 Q