Lenar Lõhmus wrote:
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.

My guess of the chance that this happens? I'd say about 1:2^42. This script working without changes with PHP5? About 1:2^64738. And a web hosting company with customers like that upgrading to PHP5 anytime soon? About 1:2^64.


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.

So trade a certain evil (version checking is code bloat and maintenance hell) for something highly hypothetical? Your call but I think it's a poor choice.


*But* let's not forget to come to a conclusion at some point.
I've done my advocacy now, could someone with the authority now decide, please? :-)


- Chris

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



Reply via email to