3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MemoryLeak { public function __construct() { $this->things[] = $this; } } for ($i = 0; $i < 332; ++$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.0080.00016.97
8.3.120.0060.00316.89
8.3.110.0100.00016.83
8.3.50.0030.00717.03
8.2.250.0030.00516.66
8.2.240.0040.00416.94
8.2.230.0060.00316.82
8.1.300.0030.00616.17

preferences:
24.14 ms | 403 KiB | 5 Q