PHP - String Functions
What is the output of the following PHP code?
$arr = ['apple', 'banana', 'cherry'];
echo implode(' - ', $arr);$arr = ['apple', 'banana', 'cherry'];
echo implode(' - ', $arr);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions