I have a PHP array and want to convert it to a string.
I know I can use join or implode, but in my case array has only one item. Why do I
join
implode
implode or join (they're the exact same thing) would work here. Alternatively, you can just call array_pop and get the value of the only element in the array.
array_pop