Christian Schneider wrote:

> Ok, now realistically, how many people use error handlers, have
> error_reporting != E_ALL *AND* expect their handler to be called for
> E_ALL *AND* aren't savvy enough to simple set error_reporting to E_ALL?

Even though I'm not one of them I'm told there are people who are
downloading random scripts for different purposes who really doesn't
understand all the technical details of PHP. They just download. Now there
are plenty of PHP scripts and projects just sitting somewhere but abandoned
by their creators waiting to be downloaded. That script/project could use
custom error handlers and could somehow depend on PHP4's behaviour. You
never know.

> 
> Why make life harder for 99.99% of the PHP users for this one
> hypothetical case? I think we're doing mental masturbation instead of
> simply fixing broken behaviour.

Hmm I don't find adding an parameter to error_reporting() call making my
life much harder. I didn't need it before, remember? I can go and write
version_compare() in my error handler too to remain BC after using this new
parameter.

> 
> - Chris

Lenar

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

Reply via email to