3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(array(1,2,3,4,5,6,7,8,9,10)); array_map('array_reverse',&$arr); print_r($arr);
based on joguQ
Output for 7.0.0
Parse error: syntax error, unexpected '&' in /in/flLOO on line 4
Process exited with code 255.
Output for 5.4.10 - 5.6.16
Fatal error: Call-time pass-by-reference has been removed in /in/flLOO on line 4
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/flLOO on line 4 Array ( [0] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 [8] => 9 [9] => 10 ) )