3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } $foos = array(); for ($i = 10000; $i--;) { $foo = new Foo; $foo->a = 1; $foos[] = $foo; }

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)
vld0.0250.00815.31
git.master0.0140.01119.56
git.master_jit0.0380.02620.90
rfc.partials0.0070.01521.38

preferences:
102.84 ms | 454 KiB | 5 Q