Personally as PHP developer (as opposed to internals developer) I am not in favor of having an interface, because I want to know that
try { // ... } catch (Exception $e) { // ... }
will catch *all* exceptions thrown by any libraries I choose to use, etc. Mixing the interface means requiring PHP developers to catch() on
Actually, you would use 'catch (IException $e)' which would catch the IException-derived Exception and all other classes that implement it.
-- Ard
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php