by antihero · 13y ago · 0 comments
Though PHP allows this to happen easily, it's a fairly terrible idea for production code - the shortest isn't always the best.
In reality you'd use a macroframework like Symfony or a micro like Ham https://github.com/radiosilence/Ham
Edit: I mis-read; reworded for clarity.