Re: Adding validate_var_array()/validate_input_array() to which version?
| From: | Rowan Collins | Date: | Thu, 04 Aug 2016 10:28:45 +0000 |
| Subject: | Re: Adding validate_var_array()/validate_input_array() to which version? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94827@lists.php.net to get a copy of this message | ||
On 04/08/2016 11:10, Yasuo Ohgaki wrote:
I cannot return or modify referenced parameter because of raised exception.This is another reason why exceptions are not appropriate for this case. As soon as you make an exception the expected result of something, you end up tying yourself in knots trying to build useful control flow around it. Regards, -- Rowan Collins [IMSoP]