Re: About restricting the recursive implicit calls
| From: | Andrea Faulds | Date: | Fri, 06 Jun 2014 12:55:58 +0000 |
| Subject: | Re: About restricting the recursive implicit calls | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74776@lists.php.net to get a copy of this message | ||
On 6 Jun 2014, at 08:07, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> I don't know a way to check for potential stack depletion that would
> work in a portable way. Different calls may consume different amounts of
> stack space, so it's kind of hard to predict it in advance. Once it
> happened, I don't think you can gracefully bail from it.
Is there a way that works for each major platform? We could use stack depletion detection where
available, but otherwise use the current behaviour.
--
Andrea Faulds
http://ajf.me/