suppressing php warnings on array_merge