Stanford physics PhD student here. We actually don't have qualifying exams, but my unpopular opinion is that we should. Physics is a lot of fun to study. The undergraduate and core graduate curriculum show off all its greatest hits. Why not learn that by heart? I spent two years doing that, it pays off every day in research, and I'd have been happy even if it didn't.