3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(array(1,2,3,4,5,6,7,8,9,10)); array_map('array_reverse',&$arr); print_r($arr);

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.00.0130.07720.08
5.6.160.0070.04020.33
5.6.150.0030.07318.18
5.6.140.0100.06018.15
5.6.130.0030.05018.17
5.6.120.0130.04021.01
5.6.110.0070.04020.98
5.6.100.0300.05720.95
5.6.90.0070.07020.96
5.6.80.0130.07020.50
5.5.300.0070.08318.02
5.5.290.0000.07318.01
5.5.280.0030.08720.97
5.5.270.0000.04320.72
5.5.260.0000.08720.71
5.5.250.0000.09020.68
5.5.240.0170.07020.34

preferences:
141.27 ms | 1394 KiB | 7 Q