Info about species1:
"; } public function report() { echo "Species1 contains .".$this->head. " head(s).
"; echo "Species1 contains .".$this->heart. " heart(s).
"; echo "Species1 contains .".$this->genes. " gene(s).
"; } } class human extends species1 { public $name; public $arms; public $legs; public $eyes; public $tail; public $hands; public $feet; public function __construct() { echo "

Human information:

"; } public function report1() { echo "This Humans name is ".$this->name.".
"; echo "This Human has .".$this->arms." arms.
"; echo "This Human has .".$this->legs." legs.
"; echo "This Human has .".$this->eyes." eyes.
"; echo "This Human has .".$this->tail." tail.
"; echo "This Human has .".$this->hands." hands.
"; echo "This Human has .".$this->feet." feet.
"; } } class cat extends human { public $wickedeyes; public $alwayslandsonfeet; public function __construct() { echo "

information about this cat:

"; } public function report2() { echo "This cats name is ".$this->name.".
"; echo "Always lands on feet: ".$this->alwayslandsonfeet.".
"; echo "Wicked eyes: ".$this->wickedeyes.".
"; echo "This Cat has .".$this->arms." arms.
"; echo "This Cat has .".$this->legs." legs.
"; echo "This Cat has .".$this->eyes." eyes.
"; echo "This Cat has .".$this->tail." tail.
"; echo "This Cat has .".$this->hands." hands.
"; echo "This Cat has .".$this->feet." feet.
"; } } $alien = new species1; $alien->head = 1; $alien->heart = 1; $alien->genes = "lots"; $alien->report(); $ricky = new human; $ricky->$name = "Richard"; $ricky->$arms = 2; $ricky->$legs = 2; $ricky->$eyes = 2; $ricky->$tail = 0; $ricky->$hands = 1; $ricky->$feet = 2; $ricky->report1(); $michelle = new human; $michelle->$name = "Michelle the Half Cat"; $michelle->$arms = 2; $michelle->$legs = 2; $michelle->$eyes = 2; $michelle->$tail = 1; $michelle->$hands = 1; $michelle->$feet = 2; $michele->report1(); $mitsy = new cat; $mitsy->$wickedeyes = "yes"; $mitsy->$alwayslandsonfeet = "yes"; $mitsy->$name = "Michelle the Half Cat"; $mitsy->$arms = 2; $mitsy->$legs = 2; $mitsy->$eyes = 2; $mitsy->$tail = 1; $mitsy->$hands = 1; $mitsy->$feet = 2; $mitsy->report2(); ?>