3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Hello, World!"; echo implode(",",explode($str));
Output for 5.3.0 - 7.2.0
Warning: explode() expects at least 2 parameters, 1 given in /in/XGFhb on line 3 Warning: implode(): Invalid arguments passed in /in/XGFhb on line 3
Output for 5.2.5 - 5.2.17
Warning: Wrong parameter count for explode() in /in/XGFhb on line 3 Warning: implode(): Invalid arguments passed in /in/XGFhb on line 3
Output for 4.3.2 - 5.2.4
Warning: Wrong parameter count for explode() in /in/XGFhb on line 3 Warning: implode(): Bad arguments. in /in/XGFhb on line 3
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for explode() in /in/XGFhb on line 3 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/XGFhb on line 3