It's very common to execute a piece of code when an object is created. In this lesson, you'll learn how to do just this with a PHP class constructor.