You clearly haven’t tried 3.5e, IMHO best edition. Class for every occasion. 362 to be exact, however I might be missing some (ex. savage species monster class progression). And you can obviously mix and match classes as long as you meet the requirements.
PF1.0 fixed fatal flaws in 3.5e. There is a reason it’s often called 3.5+, 3.5.5, or 3.75. PF1.0 does in fact have more classes, archetypes, and prestige classes than base 3.5e. 3.5e is, IMHO, the best version of DND for people who like crunchiness and are willing to deal with major feat and balance issues. PF1.0 is the best version of DND for people who like crunchiness and don’t mind feat bloat and mandatory feat paths for specific builds; it remains my favorite TTRPG.
Pathfinder 1e is basically D&D 3.75. Everything from 3.5 is fully compatible with Pathfinder 1e, and Pathfinder fixed and improved some shortcomings in 3.5.