protected function cleanExtern($line) { if (strncmp($line, 'extern ', 7) == 0) { $line = substr($line, 7); } return $line; }