On Tue, 17 Feb 2004, Stanislav Malyshev wrote: > >> >Again, I don't see any complexity arising from this: The average user > >> >would simply use "catch (IException $e)" instead of "catch (Exception > > That looks weird. Why IException? Ah, because it's an interface. And > what's an interface? And why should I know about interfaces if > I just want to catch damn exceptions and that's all? > > Simple stuff should be simple. If you want to catch exception, you > shouldn't go and learn how interfaces work in PHP and what are the > inheritance rules and ton of other stuff. You should just do > catch(Exception $e) and that's it.
Right, can't agree more with this. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php