- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0 - 7.0.1
- Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/1HM4Y on line 11
Process exited with code 255.
<?php
$a = array(1, 2 ,3);
array_walk($a, function(&$i, $k, $pos) {
$i++;
})
var_dump($a);