[php] implode 함수
2022. 7. 8. 20:32
프로그래밍 언어/PHP
implode 함수 implode 함수는 각 배열 요소들을 문자열로 만들어주는 함수다. 다음과 같이 사용할 수 있다. implode(string $separator, array $array): string implode(array $array): string implode(array $array, string $separator): string - php manual https://www.php.net/manual/en/function.implode.php PHP: implode - Manual Sometimes it's necessary to add a string not just between the items, but before or after too, and proper handling of z..