implode Join array elements with a string &reftitle.description; stringimplode stringseparator arrayarray Alternative signature (not supported with named arguments): stringimplode arrayarray Legacy signature (deprecated as of PHP 7.4.0, removed as of PHP 8.0.0): stringimplode arrayarray stringseparator Join array elements with a separator string. &reftitle.parameters; separator Defaults to an empty string. array The array of strings to implode. &reftitle.returnvalues; Returns a string containing a string representation of all the array elements in the same order, with the separator string between each element. &reftitle.changelog; &Version; &Description; 8.0.0 Passing the separator after the array is no longer supported. 7.4.0 Passing the separator after the array (i.e. using the legacy signature) has been deprecated. &reftitle.examples; <function>implode</function> example ]]> &reftitle.notes; ¬e.bin-safe; &reftitle.seealso; explode preg_split http_build_query