LanguagesPHPVideo: An Exploration of PHP's Object-Oriented Features

Video: An Exploration of PHP’s Object-Oriented Features

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

In the first of this two-part video series introducing PHP’s object-oriented fundamentals, you learned how to create and interact with a PHP class, which might be used as the basis for a video game character. Among other features, the video demonstrated object instantiation, attribute scope, class methods, and object initialization using class constructors.

This installment explores some of PHP’s intermediate object-oriented features, introducing the concept of creating class hierarchies through inheritance, class abstraction, and managing arrays of objects.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories