Also be aware that when
Disneyland opens at 9:00, they will actually open the gates beginning at 8:30. You can then get onto Main Street and get into some of the shops and restaurants. I like to do this so that we can get inside the park, grab our map and times guide (this has all the times for shows as well as park hours and other useful information about where to find characters etc.). Then we can head up Main Street to where its roped off and get in that line to get into the rest of the park once it opens at 9:00. I would plan on getting to the parking garage at least an hour before official opening. This is not to imply that if you don't get inside the park until 9:15 it will be a packed mess! But I like to get inside as soon as they let me and start having fun!
And one more note, again, this getting in a half hour before the official opening is only when the park opens later than 8:00 a.m. On 8:00 a.m. openings, the gates won't open until that time.