What is implode() in php?

PHP implode() function is used join array elements with a string.In other words we can say it returns a string from the elements of an array.



$array = array('My','Name','Is','BestInterViewQuestion');
echo implode(" ",$array)

// OUTPUT : My Name Is BestInterViewQuestion

Suggest An Answer

No suggestions avaliable!

Related Interview Questions