Reading List
PHP 7 Type Hinting: Inconsistencies and Pitfalls from The Valuable Dev RSS feed.
PHP 7 Type Hinting: Inconsistencies and Pitfalls
When PHP 7 came up with strong types, I saw the light. I had the hope not to see anymore bugs and inconsistencies due to weak typing in PHP.
I remember reading some code and having no idea what could be the type of the variables I had in front of me. Can I use the return of this method as an int? A boolean? Will it create silent bugs and unexpected behaviors?