3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(array_map(explode(',','one, void, see'),trim));
Output for 7.2.0 - 7.3.0rc4
Warning: Use of undefined constant trim - assumed 'trim' (this will throw an Error in a future version of PHP) in /in/TCV7A on line 2 Warning: array_map() expects parameter 1 to be a valid callback, array must have exactly two members in /in/TCV7A on line 2
Output for 5.5.0 - 7.1.20
Notice: Use of undefined constant trim - assumed 'trim' in /in/TCV7A on line 2 Warning: array_map() expects parameter 1 to be a valid callback, array must have exactly two members in /in/TCV7A on line 2
Output for 5.3.0 - 5.4.45
Warning: array_map() expects parameter 1 to be a valid callback, array must have exactly two members in /in/TCV7A on line 2
Output for 5.2.3 - 5.2.17
Warning: array_map(): The first argument, 'Array', should be either NULL or a valid callback in /in/TCV7A on line 2
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: array_map() [<a href='function.array-map'>function.array-map</a>]: The first argument, 'Array', should be either NULL or a valid callback in <b>/in/TCV7A</b> on line <b>2</b><br />
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: array_map(): The first argument, 'Array', should be either NULL or a valid callback in <b>/in/TCV7A</b> on line <b>2</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: array_map() [<a href='http://www.php.net/function.array-map'>function.array-map</a>]: The first argument, 'Array', should be either NULL or a valid callback in <b>/in/TCV7A</b> on line <b>2</b><br />