array(2) { [0]=> string(6) "apples" [1]=> string(7) "oranges" }
Array before call:
array(3) { [0]=> array(2) { [0]=> string(6) "apples" [1]=> string(7) "oranges" } [1]=> string(6) "grapes" [2]=> string(5) "pears" }
Args contents:
array(3) { [0]=> array(2) { [0]=> string(6) "apples" [1]=> string(7) "oranges" } [1]=> string(6) "grapes" [2]=> string(5) "pears" }
Values contents before shift:
array(2) { [0]=> string(6) "grapes" [1]=> string(5) "pears" }
Values contents after shift:
array(4) { [0]=> string(6) "apples" [1]=> string(7) "oranges" [2]=> string(6) "grapes" [3]=> string(5) "pears" }
Array after call: