Re: Internal function/method data type validation practice?
| From: | Yasuo Ohgaki | Date: | Thu, 08 Dec 2016 01:49:17 +0000 |
| Subject: | Re: Internal function/method data type validation practice? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97337@lists.php.net to get a copy of this message | ||
On Thu, Dec 8, 2016 at 10:34 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>
> What's the best practice of internal function and method data type
> validation, both parameter and return types?
Sorry, question is confusing.
I'm trying to validate data types of callbacks which could be both
user defined and internal function/method. What's the best way with
master?
Thank you.
--
Yasuo Ohgaki
yohgaki@ohgaki.net