Shouldn't you put your strings in quotes?

$subnet[0] = "10.32.1"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.