3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print array_map('foo', array(1,2,3), 'test'); function foo($a, $b){ print $b.$a; }
Output for 4.3.2 - 7.2.0
Warning: array_map(): Argument #3 should be an array in /in/s4cJk on line 3
Output for 4.3.0 - 4.3.1
Warning: array_map() [http://www.php.net/function.array-map]: Argument #3 should be an array in /in/s4cJk on line 3