3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = array( array('target_id' => 5), array('target_id' => 6), ); array_walk($t, 'reset'); print_r($t);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: reset() expects exactly 1 parameter, 2 given in /in/Ouk0A on line 8 Warning: reset() expects exactly 1 parameter, 2 given in /in/Ouk0A on line 8 Array ( [0] => Array ( [target_id] => 5 ) [1] => Array ( [target_id] => 6 ) )
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for reset() in /in/Ouk0A on line 8 Warning: Wrong parameter count for reset() in /in/Ouk0A on line 8 Array ( [0] => Array ( [target_id] => 5 ) [1] => Array ( [target_id] => 6 ) )