Re: About restricting the recursive implicit calls
| From: | Bob Weinand | Date: | Mon, 25 Feb 2013 21:29:05 +0000 |
| Subject: | Re: About restricting the recursive implicit calls | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66218@lists.php.net to get a copy of this message | ||
Am 25.2.2013 um 22:01 schrieb Johannes Schlüter <johannes@schlueters.de>:
> On Mon, 2013-02-25 at 20:36 +0100, Bob Weinand wrote:
>>
>> I can increase the default limit to 1000, but if it is too high it has
>> exactly no sense.
>
> Which is exactly the issue i mentioned about being a "good default"
>
>> We don't discuss about xDebug, but about integrating it into the
>> core?
>
> Well, nobody extracted the relevant pieces for a production environment
> from xdebug and put it on pecl, so nobody had a need for this on a
> production system ;-)
>
> johannes
> (who is +/-0 on this)
I've pushed a new commit to github. Changed the ini setting name to
max_implicit_function_calls (max_implicit_function_call_nesting_level
would be more self documenting but is way too long).
If I knew anything about C programming etc., I'd simply misuse the original
purpose of xDebug and only use it for this functionality if needed.
Bob
p.s.: and as there is a simply inexistent CPU cost: why not?