3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(implode(array_map('eval', array("return 'This';", "return ' actually';", "return ' works...';"))));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_map() expects parameter 1 to be a valid callback, function 'eval' not found or invalid function name in /in/SqYss on line 3 Warning: implode(): Argument must be an array in /in/SqYss on line 3 NULL
Output for hhvm-3.10.0 - 3.12.0
Warning: array_map() expects parameter 1 to be a valid callback in /in/SqYss on line 3 Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/SqYss on line 3 NULL
Output for 5.2.5 - 5.2.17
Warning: array_map(): The first argument, 'eval', should be either NULL or a valid callback in /in/SqYss on line 3 Warning: implode(): Argument must be an array in /in/SqYss on line 3 NULL
Output for 4.3.2 - 5.2.4
Warning: array_map(): The first argument, 'eval', should be either NULL or a valid callback in /in/SqYss on line 3 Warning: implode(): Argument to implode must be an array. in /in/SqYss on line 3 NULL
Output for 4.3.0 - 4.3.1
Warning: array_map() [http://www.php.net/function.array-map]: The first argument, 'eval', should be either NULL or a valid callback in /in/SqYss on line 3 Warning: implode() [http://www.php.net/function.implode]: Argument to implode must be an array. in /in/SqYss on line 3 NULL