3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public static function bar(): void { echo 'bar'; } } new Foo()->bar();

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.5.70.0060.00418.57
8.5.60.0050.00218.54

preferences:
37.13 ms | 484 KiB | 5 Q