class Bike { function Bike() { $this->type = 'BMX'; } } $blackSheep = new Bike(); print $blackSheep->type;
public className{ public function __construct(){ //CODE HERE } }