1. 39
    Run code on PHP class creation with a constructor
    2m 23s

Run code on PHP class creation with a constructor

InstructorMark Shust

Share this video with your friends

Send Tweet

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.