3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mess = [ 0 => ['a','b','c'], 1 => ['d','e','f'] ]; $map = function($tablica) { return $tablica[1]; } $new = array_map($map, $mess); var_dump($new);

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.2.20.0310.00317.37
7.2.10.0260.01317.67
7.2.00.0340.01017.56
7.1.140.0340.00516.25
7.1.130.0190.01616.27
7.1.120.0230.01016.52
7.1.110.0210.01315.79
7.1.100.0210.00715.61
7.1.90.0200.01215.80
7.1.80.0200.01215.72
7.1.70.0230.00815.06
7.1.60.0410.01633.10
7.1.50.0360.02032.81
7.1.40.1370.01032.47
7.1.30.0440.01632.71
7.1.20.0390.01032.74
7.1.10.0200.01614.53
7.1.00.0200.01014.34

preferences:
144.59 ms | 1398 KiB | 8 Q