RE: [PHP-DEV] E_RECOVERABLE_ERROR for "Call to a member function on a non-object"

2013-03-20 Thread Richard Bradley
> > > > 4. Has anyone attempted this change before and had it rejected, > > > > or given up? > > > 4, yes, at least there were a couple of discussions in general about > > > removing/converting some of the fatals to recoverable fatals > > Thanks: do you have any pointers for where I can fi

Re: [PHP-DEV] E_RECOVERABLE_ERROR for "Call to a member function on a non-object"

2013-03-20 Thread Ferenc Kovacs
> > > 2. Would anyone object to this change? For example on > backwards-compatibility grounds? > > 2, yes > > Could you be more specific? > I was hoping to head off some of the objections in this email thread, or > at least to avoid coding up a patch if it is certain to be rejected. > Could y

RE: [PHP-DEV] E_RECOVERABLE_ERROR for "Call to a member function on a non-object"

2013-03-20 Thread Richard Bradley
> > On Wed, Mar 20, 2013 at 3:37 PM, Richard Bradley > > wrote: > > > > I'd like to patch PHP to make "Call to a member function on a non-object" > > an E_RECOVERABLE_ERROR > > instead of an E_ERROR. > > > 1. Do I need to create an RFC for this change, or could I just create > > a pull r

Re: [PHP-DEV] E_RECOVERABLE_ERROR for "Call to a member function on a non-object"

2013-03-20 Thread Ferenc Kovacs
On Wed, Mar 20, 2013 at 5:14 PM, Ferenc Kovacs wrote: > > > > On Wed, Mar 20, 2013 at 3:37 PM, Richard Bradley < > richard.brad...@softwire.com> wrote: > >> I'd like to patch PHP to make "Call to a member function on a non-object" >> an E_RECOVERABLE_ERROR instead of an E_ERROR. >> >> I have not

Re: [PHP-DEV] E_RECOVERABLE_ERROR for "Call to a member function on a non-object"

2013-03-20 Thread Ferenc Kovacs
On Wed, Mar 20, 2013 at 3:37 PM, Richard Bradley < richard.brad...@softwire.com> wrote: > I'd like to patch PHP to make "Call to a member function on a non-object" > an E_RECOVERABLE_ERROR instead of an E_ERROR. > > I have not been able to find any previous discussion of making this > change, but

[PHP-DEV] E_RECOVERABLE_ERROR for "Call to a member function on a non-object"

2013-03-20 Thread Richard Bradley
I'd like to patch PHP to make "Call to a member function on a non-object" an E_RECOVERABLE_ERROR instead of an E_ERROR. I have not been able to find any previous discussion of making this change, but there are several PHP bugs requesting it: * #51882