logoalt Hacker News

hparadiz • today at 11:55 AM • 0 replies • view on HN

With how good PHPDoc and Phan are these days I don't really think about it anymore. You can sort of have typed array by implementing Iterator, Countable, ArrayAccess, and optionally Indexing but I assume you mean defining types of array values.