3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file_extensions = "fdsa fdsa , ,f,f,f"; var_dump(array_map('trim', $file_extensions));
Output for 4.3.2 - 7.1.0
Warning: array_map(): Argument #2 should be an array in /in/UUpQf on line 3 NULL
Output for 4.3.0 - 4.3.1
Warning: array_map() [http://www.php.net/function.array-map]: Argument #2 should be an array in /in/UUpQf on line 3 NULL