Class Php

    class Dog {
            public $Name;
            public function bark( ) {
                    print "Woof!\n";
            }
    }
    $poppy = new Poodle;
    $penny = new Poodle;
    $poppy->Name = "Poppy";
    $penny->Name = "Penny";
    print $poppy->Name;
?>