3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = '{{sorgenti,{1,2,3,4,5}}'; $comma_separated = implode(",", $array); echo $comma_separated; // lastname,email,phone ?>
Output for 5.2.5 - 7.2.0
Warning: implode(): Invalid arguments passed in /in/TOnL0 on line 3
Output for 4.3.2 - 5.2.4
Warning: implode(): Bad arguments. in /in/TOnL0 on line 3
Output for 4.3.0 - 4.3.1
Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/TOnL0 on line 3