Discovering Core OOP Coding Differences

Learn about the major differences in OOP between PHP 8 and earlier versions of PHP.

There are a number of significant changes to how we are able to write OOP code in PHP 8. We will focus on three key areas that might present potential backward-compatibility breaks. We will cover common bad practices associated with making static method calls, handling object properties, and PHP autoloading.

We will learn to spot OOP bad practices and how PHP 8 has placed restrictions on such usage. We’ll learn good coding practices, which will ultimately make us better programmers. We will also be able to address changes in PHP autoloading that can potentially cause failure in an application migrated to PHP 8.

Get hands-on with 1200+ tech skills courses.