3v4l.org

run code in 500+ PHP versions simultaneously
<?php $word = "koala"; print max('g', min($word, 'm')); // koala = koala // squirrel => m // crocodile => g

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.0050.00516.82
8.5.70.0110.00716.85
8.5.60.0050.00416.45
8.4.230.0150.00719.41
8.4.220.0070.00619.40
8.4.210.0080.00419.66
8.4.90.0070.00419.59
8.3.320.0060.00618.34
8.3.310.0090.00218.36
8.3.180.0060.00216.54
8.3.50.0120.00916.61
8.2.320.0100.00817.90
8.2.310.0110.00818.11

preferences:
44.45 ms | 537 KiB | 5 Q