The crash happened around 2:15 a.m. Saturday on Skippack Pike near Joshua Road in Whitemarsh Township.
Police say a Cutlass Supreme slid off the road and into a drainage ditch.
The three young men, ranging in age from 15 to 21 years old, got out of the car and were standing on Skippack Pike when they were hit by a car.
All three victims were taken to the hospital with non-life-threatening injuries.
Police announced Saturday night that someone was taken into custody. The driver's identiy has not been released.