what are Implode and Explode functions?

Answer Posted / -=pkg=-

The implode() function takes an already existing array as
it's argument, and concatenates the contents of
each element in the array into a string.

where as explode() function performs reverse to implode()
function. It splits the string into items by a
delimiter, such as a dash, ampersand, space and places each
item into a new array.

Is This Answer Correct ?    52 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of mysqli_query in php?

511


How we get browser details of clients machine?

518


Tell me what is the difference between the functions strstr() and stristr()?

531


Explain Type juggling?

565


Which is faster for or foreach?

508






How to join multiple strings stored in an array into a single string?

510


Is php required for wordpress?

506


What is difference between include,require,include_once and require_once()?

526


Explain type casting and type juggling.

554


Is python similar to php?

545


Tell me what is the definition of a session?

550


Why do you need to filter out empty files?

532


What is the difference between public, protected and private?

473


How to replace a substring in a given string in php?

549


How many types of array supported in php?

530