Data, Technology & EngineeringExplore OptionsFocus & PrepareTake Action

Practice It: PHP Classes and Objects

If you’re trying to become a more nuanced, successful PHP developer, you can’t overstate the value of expertise in object-oriented programming. That’s because PHP frameworks like Drupal, Symphony, and Laravel all require the same foundational programming skills. In this course, instructor Tammy Robinson gives you a practical overview of working with PHP classes and objects, two of the most important extensible concepts of procedural programming. Learn about creating classes and class instances, also known as objects, exploring a wide range of different access types, properties, and methods. Along the way, Tammy offers tips on using operators, constructors, inheritance, abstract classes, interfaces, and traits.

This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace. Check out the “Using GitHub Codespaces with this course” video to learn how to get started.

Learn More