Re: debug backtrace improvement
| From: | Derick Rethans | Date: | Fri, 14 Jan 2011 22:07:21 +0000 |
| Subject: | Re: debug backtrace improvement | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51275@lists.php.net to get a copy of this message | ||
On Fri, 14 Jan 2011, Stas Malyshev wrote:
> > I'm all for the option, but instead of having one positive
> > (PROVIDE_OBJECT) and the one negative (IGNORE_ARGS) "option" I would
> > suggest to have to positive ones:
> >
> > PROVIDE_OBJECTS (I also pluralised it to be the same)
> > PROVIDE_ARGS
>
> The problem with it would be that debug_backtrace(true|false) won't work as
> before.
Ah, right. Still ugly :-) But not as bad as overloading to see whether
there is a bool or an int.
cheers,
Derick