Class using access control
class Person { public $name; protected $age; private $salary; public function __construct() { } protected function set_age() { } private function set_salary() { } }