Here the person is depicted at the same size for each focal length. Thus camera has moved and accordingly, perspective is changed.
If the camera standpoint remains unchanged, perspective of course also is constant. However, in that case, detail magnification is proportional to focal length.