Re: Better types without runtime checking
| From: | Dan Ackroyd | Date: | Tue, 05 Jun 2018 19:33:47 +0000 |
| Subject: | Re: Better types without runtime checking | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102178@lists.php.net to get a copy of this message | ||
> Has there ever been a discussion about adding some of those features
> syntactically, but ignoring them during runtime? At least until someone
> finds a performant way to check them at runtime. That way we could have
> advanced type checking in our editors at least.
You can have that today: https://preprocess.io/
The main thing that would missing would be a mapping of source file +
line to the running code, which would make debugging harder.
cheers
Dan