Re: [RFC] Optional typehint check for parameters
| From: | Christoph M. Becker | Date: | Mon, 16 Jul 2018 14:03:14 +0000 |
| Subject: | Re: [RFC] Optional typehint check for parameters | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102851@lists.php.net to get a copy of this message | ||
On 16.07.2018 at 13:15, Yasuo Ohgaki wrote:
> What you need is DbC.
> It's more flexible and complete. It satisfies all of your needs and more.
> An issue is that DbC is not static code analysis tool friendly.
>
> https://wiki.php.net/rfc/introduce_design_by_contract
> https://wiki.php.net/rfc/dbc
> https://wiki.php.net/rfc/dbc2
All three RFCs are marked as being “Under Discussion”, which doesn't
appear to be the case.
--
Christoph M. Becker