3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $parent_ids = 4; $parent_ids = implode(',', array_map('intval', $parent_ids));
Output for 5.2.5 - 7.1.0
Warning: array_map(): Argument #2 should be an array in /in/DNG8A on line 3 Warning: implode(): Invalid arguments passed in /in/DNG8A on line 3
Output for 4.3.2 - 5.2.4
Warning: array_map(): Argument #2 should be an array in /in/DNG8A on line 3 Warning: implode(): Bad arguments. in /in/DNG8A on line 3
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/DNG8A on line 3 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/DNG8A on line 3