Re: Adding validate_var_array()/validate_input_array() to which version?
| From: | Yasuo Ohgaki | Date: | Mon, 01 Aug 2016 23:59:14 +0000 |
| Subject: | Re: Adding validate_var_array()/validate_input_array() to which version? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94789@lists.php.net to get a copy of this message | ||
Hi all,
On Tue, Aug 2, 2016 at 7:12 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>
> Raising Exception would be prefered.
> Any comment raising exception? ExceptionFilterValidate wouldn't
> cause much BC, IMO.
Any comments on using SPL exception?
http://php.net/manual/en/class.unexpectedvalueexception.php
With Exception or UnexpedtedValueException, there is no BC.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net