Yep, you get The Magicians by Lev Grossman.
In this trilogy which has been adapted as a TV series recently, we go along the journey of Quentin, a young adult who is obsessed with a fantasy book series discussing the magical land of Fillory, which is quite similar to Narnia in the fact that each time it’s accessed from a different place, time moves there differently, and it needs four kings and queens from earth to rule it. On the other hand, we have a school for magic on earth called Brakebills, which is reminiscent to Hogwarts. In addition to that, we have a group of Hedge witches who were not accepted into Brakebills but on whom the forgetting spell did not take quite well, so they still remember Brakebills and are trying to get back.
Between a variety of worlds and worlds within worlds, gods, magicians and different weird creatures here and there, The Magicians by Lev Grossman is an interesting and engaging read for people who aren’t quite ready to get out of Harry Potter or Narnia. However, because of the elements drawn heavily out of the two aforementioned series, this trilogy seems more like a spin-off than a standalone story. On the other hand, what makes it a bit more interesting is Grossman’s sense of humor spread about here and there.