3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "a n"; var_dump(implode('\n', $str));
Output for 5.2.5 - 7.2.0
Warning: implode(): Invalid arguments passed in /in/l9RX0 on line 5 NULL
Output for 4.3.2 - 5.2.4
Warning: implode(): Bad arguments. in /in/l9RX0 on line 5 NULL
Output for 4.3.0 - 4.3.1
Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/l9RX0 on line 5 NULL