Hans-Peter Oeri wrote:
> The problem for me as a php end-user currently is, that no coherent
> error behaviour in php exists. Core functions only issue errors, intl

To be honest I prefer an inconsistent but stable error mechanism.
Allowing to change the error behaviour (e.g. something as extreme as
allowing to convert all internal errors to exceptions via ini setting -
I know that's not part of this proposal, just using it as an example)
leads to another inconsistency: Depending on the hosting provider and/or
frameworks/modules used you'd have to write different error handlers.

Suppose you want to write an open source application which has to work
on all different kind of  environments: It seems to me that making error
behaviour configurable would make things harder rather than easier.

One of the nice things about PHP it's easy to learn and knowledge & code
is (most of the time) transferable amongst different instances of PHP.

Regards,
- Chris

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to