I, and lots of people, need to worry about it. I write code that uses
I second that.
Adding an optional argument has the worst of both worlds. In order to take advantage of it, one must lock your code into PHP 5.
In this specific case I can live with an optional argument (even though I think it is pure bloat) because I can't use set_error_handler with PHP4 anyway due to bug #25547. [As soon as this bug gets fixed and I _could_ use it though I'll hate myself for accepting the optional parameter because I'll have to add a "if (version_compare...)" to my code :-}].
- Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php