It can vary by situation.
Figure that, generally, most guests who arrive and wait at the gates 40, or so, minutes before the posted "opening time" will be admitted about 25-30 minutes early.
Not something to really count on. Truly a gamble.
(We arrive at least that early for just about every park, every day, anyway.)