On 4/14/06, Dmitry Stogov <[EMAIL PROTECTED]> wrote: > In general, exceptions as result of type conversion are good.
I disagree here, exceptions are... exceptions. That means they should be used in rare cases. Unicode (and string manipulation in gerenal) should not use exceptions. I see no cases which justify an exception. > Half year ago we disabled exceptions in __toString() especially because of > this reason. > I prefer disable exceptions for unicode conversions too. Same here, and even if PHP will allow it. String manipulations (unicode included) must remain a quiet and easy operation. This should be a goal for each extensions, give a way to make PHP silent (by default or not does not matter but it must be settable). --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php