------------------------- Foreach Loop -------------------------

Array ( [Fruits] => Array ( [0] => Array ( [name] => banana [colour] => yellow ) [1] => Array ( [name] => strawberry [colour] => red ) [2] => Array ( [name] => kiwi [colour] => green ) ) [Numbers] => Array ( [0] => Array ( [number] => 1 [writing] => one ) [1] => Array ( [number] => 2 [writing] => two ) [2] => Array ( [number] => 3 [writing] => three ) ) )

*****************************************************
test 450
Fruits

Array ( [0] => Array ( [name] => banana [colour] => yellow ) [1] => Array ( [name] => strawberry [colour] => red ) [2] => Array ( [name] => kiwi [colour] => green ) )


Numbers

Array ( [0] => Array ( [number] => 1 [writing] => one ) [1] => Array ( [number] => 2 [writing] => two ) [2] => Array ( [number] => 3 [writing] => three ) )



------------------------- For Loop -------------------------

x1 = 0

y1 = 0

y1 = 1

y1 = 2

y1 = 3

y1 = 4

x1 = 1

y1 = 0

y1 = 1

y1 = 2

y1 = 3

y1 = 4

x1 = 2

y1 = 0

y1 = 1

y1 = 2

y1 = 3

y1 = 4

------------------------- While Loop -------------------------

x = 0

y = 0

y = 1

y = 2

y = 3

y = 4

x = 1

x = 2

x = 3

x = 4