00001 <? 00002 00006 class vocab { 00007 00013 public function plural($word, $amt) { 00014 return $word . ($amt == 1 ? '' : 's'); 00015 } 00016 }