What Shatner did was the same thing suborbital they didn’t actually go into space
A suborbital flight can penetrate the Karman line boundary into space. It just means there was no orbit around the earth. Up into space and then right back down.