I think there may be a array handling problem somewhere that it causing it to crash on all the For Each loops. It seems to not be the call of the function that is killing it, but rather the attempted enumeration of the results.

If I run this code...It shows just 1234, and not the zero.

 Code:
$testarr = "0","1","2","3","4"
for each $num in $testarr
  ? $num
next

CORRECTION: It's not seeing the list as an array. It's just assigning the first value "0" to $testarray, and then displaying the rest to the console. The For Each just bombs without displaying anything.


Edited by ShaneEP (2012-11-26 06:06 PM)