3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($x) { var_dump($x, $x()); //return $x === $x(); } foo((static $f = function () { return function () use ($f) { return $f; }; })());

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)
7.2.20.0110.01519.62

preferences:
151.29 ms | 1398 KiB | 7 Q