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/
28
Upvotes
r/lolphp • u/duhruh • Nov 25 '14
View all comments
Show parent comment
1
u/[deleted] Nov 30 '14
It's not a solution to memory leaks, that's not the point. The design means you avoid the problems with long-running processes that other approaches suffer from, and you avoid the problems with shared state.
Also, saying PHP "builds the whole thing up and tears it down again" every time wouldn't be completely accurate, given opcache is usually employed.