3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $a; } $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.0090.00915.18
4.3.00.0040.00914.23
git.master0.0040.01215.78
rfc.partials0.0090.00918.26

preferences:
291.78 ms | 454 KiB | 5 Q