3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $info = array('q0'=>'coffee', 'q1'=>'brown', 'q2'=>'caffeine'); echo implode(",",$info); var_dump(explode(",",$info));
Output for 5.3.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
coffee,brown,caffeine Warning: explode() expects parameter 2 to be string, array given in /in/iKLc8 on line 5 NULL
Output for 4.3.0 - 5.3.0
coffee,brown,caffeinearray(1) { [0]=> string(5) "Array" }