So it turns out that writing my own PHP framework is harder than I first thought. Not that I thought it’d be easy, mind.