3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $arrayFetch = array(); for ($i = 1; $i <= 1000000;$i++) { $arrayFetch = $i; print_r($arrayFetch.'/r'); }

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)
7.0.10.0130.03720.33
7.0.00.0100.06720.33
5.6.160.0070.08320.71
5.6.150.0000.04018.14
5.6.140.0070.08018.27
5.6.130.0130.06718.28
5.6.120.0030.05021.01
5.6.110.0100.08020.98
5.6.100.0070.08321.11
5.6.90.0070.08321.02
5.6.80.0130.07020.38
5.5.300.0030.05318.03
5.5.290.0030.04017.97
5.5.280.0070.08020.87
5.5.270.0030.05320.83
5.5.260.0130.08020.72
5.5.250.0070.06020.65
5.5.240.0100.07720.26

preferences:
135.07 ms | 1394 KiB | 7 Q