RE: [PHP-DEV] exceptions instead of errors

From: Date: Mon, 12 May 2003 23:56:04 +0000
Subject: RE: [PHP-DEV] exceptions instead of errors
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1456@lists.php.net to get a copy of this message
At 01:52 13.05.2003, Steven Brown wrote:
Maybe I'm just missing something, but if the decision to throw from a function that previously didn't use exceptions for error handling is based on if it's being used while in a try {} block, if you wrap your new php file with try {} but also make use of an old library, you've just changed the internal behavior of the library code, making it a BC issue.
SURE, but that's the point: if you're trying to mix old and new behaviour then you can't expect that everything works as expected. If noone here is allowed to make any progress then we simply stop all development and are fine and have some fun in the sun. And if BC is everything and you want your old libs then simply noone forces you to use PHP5. marcus

« previous php.internals (#1456) next »