Impode is a function used in php which is used to form a string from an element of array.
Syntax: implode(“, ”,$string);
Usually we have comma seperated values in array. In order to form array elements into a string we use comma separator.
$string a variable which stores values in the form of array.