<?php
  class Employee {
    public $name = "George";
    public $department = "IT";

    function showBadge() {
      echo "Name: ".$this->name."<br>";
      echo "Department: ".$this->department."<br>";
    }
  }
  $employee1 = new Employee();
  $employee1->showBadge();
?>