3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("here","we","go"); $array1[2] = 'go'; $array1[1] = 'we'; $array1[0] = 'here'; $array2 = array('here'); $array2[2] = 'go'; $array2[1] = 'we'; $array2[0] = 'here'; $str1 = implode(',',$array1); $str2 = implode(',',$array2);

preferences:
36.59 ms | 402 KiB | 5 Q