<?php function test($list){ foreach($list as $index1 => $a1){ foreach($list as $index2 => $a2){ if($index2 == 3) unset($list[3]); echo $index1 . " " . $index2 . " - "; } echo "\n"; } echo "\n\n"; } test(new ArrayObject([0,1,2,3,4,5])); test([0,1,2,3,4,5]);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`