Answer & Solution
Answer: Option B
Solution:
The output of the code will be Red Green Blue Yellow Orange because the array_push() function is used to add the elements "Yellow" and "Orange" to the end of the $colors array. The foreach loop then iterates over the array, printing each color, resulting in the output Red Green Blue Yellow Orange.