class Car { var $color; function __construct($color="green") { $this->color = $color; } function what_color() { return $this->color; } }