Internal function/method data type validation practice?
| From: | Yasuo Ohgaki | Date: | Thu, 08 Dec 2016 01:34:42 +0000 |
| Subject: | Internal function/method data type validation practice? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-97336@lists.php.net to get a copy of this message | ||
Hi all,
What's the best practice of internal function and method data type
validation, both parameter and return types?
Although it seems it is possible to retrieve parameter/return types,
there is no APIs defined in Zend according to ext/reflection or I must
have missed something.
Thank you.
--
Yasuo Ohgaki
yohgaki@ohgaki.net