Re: Core functions throwing exceptions in PHP7

From: Date: Sat, 01 Aug 2015 22:14:41 +0000
Subject: Re: Core functions throwing exceptions in PHP7
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-87488@lists.php.net to get a copy of this message
On Sat, Aug 1, 2015 at 6:37 AM, Nikita Popov <nikita.ppv@gmail.com> wrote: > tl;dr: This should definitely throw, but I'm as yet unclear as to *what* it > should throw. My gut says zpp should throw Error, length/min/max errors > should throw Error and the randomness-not-available condition should throw > Exception. Hi Nikita, This sounds reasonable to me. As I've said before, I don't have any real preference for which is thrown. If Aaron (author of the Throwable RFC that passed unanimously) wants to chime in, I'd almost certainly go with whatever you, him, and Anthony could agree on. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises <https://paragonie.com>

« previous php.internals (#87488) next »