Instantiating classes

name = $name; $this->surname = $surname; $this->staff_id = $staff_id; $this->contact_number = $contact_number; } /* function __set($name, $value) { $this->$name = $value; } */ } $andres = new Staff("Andres", "Baravalle", "0123456", "01234567"); $andres->contact_number = 3; var_dump($andres); ?>