3v4l.org

run code in 500+ PHP versions simultaneously
<?php $bucket = [1, 2, 'A', 'z', INF, '🐘']; print array_find($bucket, fn($x) => $x > '🐗' ); print array_find_key($bucket, fn($x) => $x > '🐗' );

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.90.0030.01116.91
8.5.80.0130.01116.73
8.5.70.0030.00616.72
8.4.240.0130.00919.49
8.4.230.0040.00619.40
8.4.220.0080.00219.60
8.4.90.0060.00417.96
8.3.330.0040.00418.36
8.3.320.0070.00418.56
8.3.180.0040.00418.70
8.3.50.0060.00318.56
8.2.320.0100.00818.11

preferences:
42.69 ms | 533 KiB | 5 Q