What is the different use of implode and explode function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the different use of implode and explode function?

27th Jun 2020, 6:19 AM
Erin
2 Answers
0
The implode() function returns a string from the elements of an array. Syntax: string implode(string $seperator, array $array) The explode() function breaks a string into an array. Syntax: array explode(string separator,string string)
27th Jun 2020, 6:37 AM
123
0
Aksita G ok thanks :)
27th Jun 2020, 6:52 AM
Erin