3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MemoryLeak { public function __construct() { $this->things[] = $this; } } for ($i = 0; $i < 331; ++$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.0030.00617.24
8.3.120.0060.01116.88
8.3.110.0090.00016.70
8.3.50.0090.00016.73
8.2.250.0050.00516.70
8.2.240.0060.00316.69
8.2.230.0060.00316.89
8.1.300.0060.00316.40

preferences:
23.62 ms | 403 KiB | 5 Q