Subscribe to PHP Freaks RSS

Never type hint on arrays

syndicated from planet-php.net on July 27, 2018

Never type hint on arrays

Let's be controversial: In modern PHP, you should never type-hint an array.

Before you start throwing tomatoes, hear me out.

Continue reading on Steemit

Larry 27 July 2018 - 11:18pm