On Fri, 19 Dec 2003, Christian Schneider wrote:

> Daniel Convissor wrote:
> > On Fri, Dec 19, 2003 at 03:20:17PM +0100, Derick Rethans wrote:
> >
> >>It is when it's optional and the default is the current behavior.
> >
> > Pardon me.  Looks like PHP 3 behavior is still stuck in my brain...
>
> No, you were right. A script using
> set_error_handler("handler", error_reporting());
> will get "Wrong parameter count for set_error_handler()" for PHP4.
>
> So you force people to lock their code to PHP5 if they want to use the
> new semantics. Not good for migration.

This is not called backwards compatibility, but forwards compatibility.
Don't worry about this, as PHP wasnever really forwards compatible
anyway.

Derick

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

Reply via email to