3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public const FOO = 42; } var_dump( Foo::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)
7.4.300.0050.00216.39

preferences:
135.24 ms | 1440 KiB | 7 Q