note
Anonymous Monk
Well, if you consider arrays to be circular, if <tt>$x == 0</tt>, then <code>$arr[$x - 1]</code> is the last element. Which would be just right. Unfortunally, it doesn't work the way. <code>$arr[$#arr + 1]</code> isn't the same as <code>$arr[0]</code>.
439714
439719
4