Re: [RFC] ZPP Failure On Overflow
| From: | Andrea Faulds | Date: | Wed, 24 Sep 2014 15:07:04 +0000 |
| Subject: | Re: [RFC] ZPP Failure On Overflow | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77583@lists.php.net to get a copy of this message | ||
On 24 Sep 2014, at 16:04, Rowan Collins <rowan.collins@gmail.com> wrote:
> That said, most cases of "garbage in, garbage out" would presumably remain so, since
> most ZPP failures result in a return of NULL or FALSE, which would probably end up cast back to the
> expected type (int(0), string(''), etc) by the surrounding code.
Right. It’s not an E_RECOVERABLE_ERROR, you’d just get an E_WARNING.
--
Andrea Faulds
http://ajf.me/