3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getRandomData(): array { return array_map(fn (): int => random_int(1, 100), range(0, 23)); } var_dump(getRandomData());

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.0.10.0250.01016.50

preferences:
41.51 ms | 403 KiB | 5 Q