Re: How to get a PHP bug fixed?
| From: | Stas Malyshev | Date: | Sat, 05 Jan 2013 22:30:55 +0000 |
| Subject: | Re: How to get a PHP bug fixed? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64563@lists.php.net to get a copy of this message | ||
Hi!
> I've looked into it and I'm not sure whether an option for getTrace
> method is the best way to solve this. I mean the trace is created
> along with the exception so it would have to be generated with the
> object fields regardless and then filtered if the option is not set.
> I think it would be better to add new PHP directive for this
> (disabled by default for back compatibility).
No, I don't think it is a good idea. We have too many config directives
already, and behavior-modifying directives is really not a good idea,
since it is a global state with all its problems.
> Also what do you mean by DEBUG_BACKTRACE_*?
Constants used for trace parameters.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227