I really don't see. In all cases a reference to the same array is returned, at the end of the function.