Reading List
PHP 7.2: the Traps to Avoid for a Better and Cleaner Code from The Valuable Dev RSS feed.
PHP 7.2: the Traps to Avoid for a Better and Cleaner Code
What are the pitfalls to avoid with this new version of PHP and its new functionalities?
As my previous article on PHP 7 scalar and return types pitfalls, instead of describing the new super cool features of this perfect PHP 7.2, I will describe what can be dangerous for the good health of your application.
As Ward Cunningham stated it: “You know you are working on clean code when each routine you read turns out to be pretty much what you expected.” As you will see, this new PHP version can make your code pretty confusing if you don’t know when to use those new functionalities.