Teachers packed the lobby of the Arizona Capitol in Phoenix in the wee hours of Thursday morning, as lawmakers debated a budget that gives teachers big raises but falls short of their demands for better school funding.