3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = array( array('target_id' => 5), array('target_id' => 6), ); $t = array_map($t, 'reset'); print_r($t);
Output for 5.3.0 - 7.2.0
Warning: array_map() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /in/8ethv on line 8
Output for 4.3.2 - 5.2.17
Warning: array_map(): The first argument, 'Array', should be either NULL or a valid callback in /in/8ethv on line 8
Output for 4.3.0 - 4.3.1
Warning: array_map() [http://www.php.net/function.array-map]: The first argument, 'Array', should be either NULL or a valid callback in /in/8ethv on line 8