php prepend array

How to prepend a string in PHP

There’s no exact function to prepend a string in PHP. But PHP concatenation operator (.) is used to returns the concatenation of its left and right arguments. There are two…