3v4l.org

run code in 500+ PHP versions simultaneously
<?php for($a=1;$a<=10000;$a++) { random_int(1,100); //mt_rand(1,100); //rand(1, 100); }

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.30.0250.00916.60
8.5.10.0500.01116.56
8.5.00.0260.00917.24
8.3.50.0070.00616.66

preferences:
39.77 ms | 500 KiB | 4 Q