PHP Tutorials

PHP Objects (Part 2)

Hope you have created some classes of your own. To get the gist let create another class Automobile <?php class Automobile { public $brand; public $color; public $wheels; public $engine_type; } ?> This class is now a simple blueprint for your car. But where is the car?