3v4l.org

run code in 300+ PHP versions simultaneously
<?php readonly class Foo { public static array $bar = []; } $foo = new Foo; $foo->bar[] = 'a'; var_dump($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)
8.2.10.0060.00418.45

preferences:
149.64 ms | 1005 KiB | 7 Q