News for hackers. Stuff that matters.
Re:Link: A fast and simple PHP Router by icedchai on Friday May 30, 2014 @12:14PM (#7822560)
neat! this beats putting an include at the top of each file...
Re:Link: A fast and simple PHP Router by krapp on Friday May 30, 2014 @03:49PM (#7823619)
It certainly does.

I personally would still prefer a router but I know of a project which was written almost entirely in sprawling, procedural PHP that might benefit from this. Although I do wonder what the performance hit would be.