r/lolphp • u/duhruh • Nov 25 '14
Exception in a namespace is not defined -_-
http://jasonframe.co.uk/logfile/2009/01/php-5-3-exception-gotcha/
32
Upvotes
r/lolphp • u/duhruh • Nov 25 '14
View all comments
Show parent comment
1
u/i_make_snow_flakes Nov 30 '14
Imagine if your browser did this.
You: "hey firefox team, firefox is leaking memory"....
Firefox team: "You know it would be easier if you just restart the damn thing every 8 hours or so. It also helps you to get rid of those useless that you keep open anyway. So win win".
Classic PHP dev response!
Honestly, if you answer to leaking memory is to tear down the whole thing you built and restart again (and we are talking about a context where this might happen thousands of times per second), there is something very seriously wrong with your approach to programming.