Understanding array_sum() example