understanding array_pad_