Help me


#1

Onde esta o erro por favor me ajude








<?php
class dog {
public $numLegs = 4;
public $name ;
public function __construct($name){
$this-> baker = $name;
public bark(barker){
return"woof";
}
public greet($name){
return $name;
}
$Dog1=new Bark("Barker") ;
$Dog2=new greet("Amigo");strong text
echo $Dog2="amigo";

    ?>
  </p>
</body>


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.