Re: Consensus on argument validation for built-in functions
| From: | Christian Schneider | Date: | Tue, 11 Mar 2025 15:32:40 +0000 |
| Subject: | Re: Consensus on argument validation for built-in functions | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126718@lists.php.net to get a copy of this message | ||
Am 11.03.2025 um 16:29 schrieb Christian Schneider <cschneid@cschneid.com>:
> ...(if you want to be strict about warnings then just convert them to an exception, that's
> easy enough)...
Reading it back I maybe wasn't clear: I mean if you as an application developer want to be
strict then you can use an error handler to catch warnings and throw an exception yourself.
- Chris