Reusing temporary variables in array definition [ci skip]