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.80.0130.01116.73
8.3.180.0040.00418.70
8.3.50.0060.00318.56

preferences:
71.36 ms | 489 KiB | 5 Q