3 ms·
Well, that's one of the few "advantages" of PHP. Though PHP allows this to happen easily, it's a fairly terrible idea for production code - the shortest isn't
by antihero 14y ago
Well, that's one of the few "advantages" of PHP.
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 https://github.com/radiosilence/Ham
- cpress 14y agoThere is a microwork made from Symfony components called Silex: http://silex.sensiolabs.org http://silex.sensiolabs.org. Edit: I mis-read; reworded for clarity.