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