protected static function applyMappingTable($codepoints, $func) { if (count($codepoints)) { return call_user_func_array('array_merge', array_map($func, $codepoints)); } else { return $codepoints; } }