3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Hello, World!"; echo implode(",",explode("",$str));
based on XGFhb
Output for 5.2.5 - 7.2.0
Warning: explode(): Empty delimiter in /in/MWcTM on line 3 Warning: implode(): Invalid arguments passed in /in/MWcTM on line 3
Output for 4.3.2 - 5.2.4
Warning: explode(): Empty delimiter. in /in/MWcTM on line 3 Warning: implode(): Bad arguments. in /in/MWcTM on line 3
Output for 4.3.0 - 4.3.1
Warning: explode() [http://www.php.net/function.explode]: Empty delimiter. in /in/MWcTM on line 3 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/MWcTM on line 3