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.0070.08020.11
5.6.160.0100.08320.50
5.6.150.0070.04018.12
5.6.140.0130.06318.16
5.6.130.0100.07318.11
5.6.120.0130.07020.99
5.6.110.0070.04021.01
5.6.100.0130.07721.08
5.6.90.0030.08321.01
5.6.80.0130.07320.50
5.5.300.0130.07318.00
5.5.290.0130.07317.98
5.5.280.0070.06320.81
5.5.270.0130.03320.96
5.5.260.0030.07020.86
5.5.250.0030.09020.62
5.5.240.0300.06720.12

preferences:
142.06 ms | 1394 KiB | 7 Q