13 ms·
I can't find it anywhere in the document - are these statically checked types or just run time checks (contracts)?
by spion 12y ago
I can't find it anywhere in the document - are these statically checked types or just run time checks (contracts)?
- TazeTSchnitzel 12y agoRuntime (like PHP's existing type hints), but they could be checked statically by IDEs and such. One benefit of strict mode is that it enables much better static checking than weak mode, because validity is determined by type and never value.