accéder à la classe en php

 class person {
     //properties
        public $name;
        public $age;
        public $email;

     //function
        public function setProfile($name, $age, $email) {
     //We use this->name to point out the properties above
            echo $this->name = $name. "<br>";
            echo $this->age = $age. "<br>";
            echo $this->email = $email;
        }
    };

    $profile = new person;
    //those parameters are from the function parameters
    $profile->setProfile("parameter1", "parameter2", "parameter3");
    ?>
    
    
    /*
    I'am Harniel Amuin hope this helps
    */
Zany Zebra