Object oriented programming using PHP