Re:Modern PHP Cheat Sheet
by lolspace on Thursday November 25, 2021 @11:12AM
(#29342487)
What is modern PHP?
[ Parent
| on HN ]
Re:Modern PHP Cheat Sheet
by purerandomness on Thursday November 25, 2021 @11:17AM
(#29342534)
It commonly refers to PHP 7+ paired with clean code practices and SOLID principles.
The opposite is PHP5-style code from the early 2000s, no package management, no type strictness, no object orientation, just a giant spaghetti mix of JS, HTML, SQL and PHP in a 10kloc file.
Re:Modern PHP Cheat Sheet
by fevangelou on Thursday November 25, 2021 @12:12PM
(#29343029)
Do you think spaghetti code won't come from folks who use Composer? Ha!