3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $info = array('q0'=>'coffee', 'q1'=>'brown', 'q2'=>'caffeine'); var_dump(($info)); $info = implode(",",$info); echo $info; var_dump(explode(",",$info));
Output for 4.3.0 - 7.2.0
array(3) { ["q0"]=> string(6) "coffee" ["q1"]=> string(5) "brown" ["q2"]=> string(8) "caffeine" } coffee,brown,caffeinearray(3) { [0]=> string(6) "coffee" [1]=> string(5) "brown" [2]=> string(8) "caffeine" }