<?php
$arr = array(array(1,2,3,4,5,6,7,8,9,10));
array_map('array_reverse',& $arr);
print_r($arr);
- Output for 7.0.0
- Parse error: syntax error, unexpected '&' in /in/EALWt on line 4
Process exited with code 255. - Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Fatal error: Call-time pass-by-reference has been removed in /in/EALWt on line 4
Process exited with code 255.
preferences:
163.02 ms | 1395 KiB | 24 Q