$value) { if (preg_match("/^$caslangconstprefix/", $key)) { $CASLANGUAGES[$value] = substr($value, $caslangprefixlen); } } if (empty($CASLANGUAGES)) { $CASLANGUAGES = array (PHPCAS_LANG_ENGLISH => 'English', PHPCAS_LANG_FRENCH => 'French'); }