On Fri, 2003-03-28 at 15:03, Andi Gutmans wrote: > > Exceptions have a potential of leaking memory. I have mentioned in the past > that I wouldn't base my applications logic on exceptions but only use it in > error conditions to clean-up and/or give a nice message. You are talking > about using it as part of your application logic.
If I can't use exceptions for application logic, why should I bother with using exceptions at all when there is trigger_error() and die()? Being able to control the flow of my code (that is application logic to me) is my main motivation for using exceptions in the first place. With all due respect Andi, I think adding exceptions to PHP and at the same time discouraging programmers to not use them to control program flow is a Bad Idea[tm]. - Stig -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php