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 ltrim?

492


Write a program in php to check whether a number is prime or not?

476


When sessions ends?

541


What is composer used for?

487


Which function is used in php to delete a file?

539






What are the differences between php constants and variables?

488


What is php used for?

502


Explain the importance of the function htmlentities.

523


How to remove values saved in the current session?

511


Tell me how comfortable are you with writing html entirely by hand?

490


What are the methods to submit form in php?

507


Explain how you can update memcached when you make changes to php?

534


How to check an key is exists in array?

540


What is the use of isset() in php?

509


Can we learn php without html?

523