A look at modern PHP
I still can&#x27;t see how it can be &quot;mature&quot; if it offers an iterable returnable type like in the article example yet doesn&#x27;t indicate the type of the object it is returning!<p>It has type hints for function parameters and return types but not for arrays. This makes it useless to me.<p>I know everybody will say &quot;just add comments so an IDE can interpret it&quot; but this should be a feature of the language. Just adding comments to hint to an IDE is not a real solution.<p>It&#x27;s still just a vector&lt;void* &gt; in C++ parlance. Nobody would take you seriously if you said &quot;just add comments to indicate what your void* might be&quot; in a large codebase.