Dmitri Goosens wrote: > I’m a Belgian PHP addict and feel I’ve got a suggestion that might be of > interest for PHP7. > I’d more than glad to write it down completely in an RFC if you grant me > access, otherwise, maybe someone can do it.
Information about creating an RFC can be found on <https://wiki.php.net/rfc/howto> > My username is *dgoosens*. If you already have registered with that name for a Wiki account, one of the admins would have to approve it. Otherwise you'd have to register yourself at first. > I feel, a natural evolution of the scalar type hinting would be the > possibility to type hint arrays as well… > That means, not the array itself, obviously, but the items that are in the > array. Note that there has been a related RFC a while ago, which has been declined: <https://wiki.php.net/rfc/arrayof>. It might be a good idea to read the respective mailing list discussion: <http://grokbase.com/t/php/php-internals/141f1kzdm8/introducing-array-of-rfc> -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php