Clearly, there must already be some values in the $blocks array. The first code fragment is overwriting some of them, while the second code fragment is appending to them. If $blocks is undefined to start, both code fragments produce exactly the same array. ..chris