✅ The correct answer is:
all of the answers
Question:
Which code would you use to print all the elements in an array called $cupcakes?
Solution:
- all of the answers
- print_r($cupcakes);
- var_dump($cupcakes);
- foreach($cupcakes as &$cupcake) echo $cupcake;