name = $lang; } } $lang = new Language(); $lang->set_name("PHP"); echo $lang->name; ?>