Re: [RFC] ZPP Failure On Overflow
| From: | Stas Malyshev | Date: | Mon, 29 Sep 2014 01:10:11 +0000 |
| Subject: | Re: [RFC] ZPP Failure On Overflow | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77691@lists.php.net to get a copy of this message | ||
Hi!
> May be this overflow checks should be optional?
> In old ages compilers for Wirth family languages had option to enable or
> disable overflow checks.
> If option is enabled we may throw an exception, if no - work as today.
> Any user would be able to chose between compatibility and safety.
Given that we have l and L in parameter parsing API, it is essentially
optional, but the choice is on internals developer. I'm not sure having
it as ini value would be the best idea, since behavior-modifying options
in the past proved more trouble than they're worth - one more dimension
one has to test against.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/