private static function isAllowedScriptCombination( $scriptList ) {
		$allowedScriptCombinations = [
			[ "SCRIPT_COPTIC", "SCRIPT_COPTIC_EXTRAS" ], # Coptic, using old Greek chars
			[ "SCRIPT_GREEK", "SCRIPT_COPTIC_EXTRAS" ], # Coptic, using new Coptic chars
			[ "SCRIPT_HAN", "SCRIPT_BOPOMOFO" ], # Chinese
			[ "SCRIPT_HAN", "SCRIPT_HANGUL" ], # Korean
			[ "SCRIPT_HAN", "SCRIPT_KATAKANA", "SCRIPT_HIRAGANA" ] # Japanese
		];
		foreach ( $allowedScriptCombinations as $allowedCombo ) {
			if ( self::isSubsetOf( $scriptList, $allowedCombo ) ) {
				return true;
			}
		}
		return false;
	}
private static function isAllowedScriptCombination( $scriptList ) {
		$allowedScriptCombinations = [
			[ "SCRIPT_COPTIC", "SCRIPT_COPTIC_EXTRAS" ], # Coptic, using old Greek chars
			[ "SCRIPT_GREEK", "SCRIPT_COPTIC_EXTRAS" ], # Coptic, using new Coptic chars
			[ "SCRIPT_HAN", "SCRIPT_BOPOMOFO" ], # Chinese
			[ "SCRIPT_HAN", "SCRIPT_HANGUL" ], # Korean
			[ "SCRIPT_HAN", "SCRIPT_KATAKANA", "SCRIPT_HIRAGANA" ] # Japanese
		];
		foreach ( $allowedScriptCombinations as $allowedCombo ) {
			if ( self::isSubsetOf( $scriptList, $allowedCombo ) ) {
				return true;
			}
		}
		return false;
	}
private static function isAllowedScriptCombination ( $ scriptList ) { $ allowedScriptCombinations = [ [ "SCRIPT_COPTIC" , "SCRIPT_COPTIC_EXTRAS" ] , # Coptic, using old Greek chars [ "SCRIPT_GREEK" , "SCRIPT_COPTIC_EXTRAS" ] , # Coptic, using new Coptic chars [ "SCRIPT_HAN" , "SCRIPT_BOPOMOFO" ] , # Chinese [ "SCRIPT_HAN" , "SCRIPT_HANGUL" ] , # Korean [ "SCRIPT_HAN" , "SCRIPT_KATAKANA" , "SCRIPT_HIRAGANA" ] # Japanese ] ; foreach ( $ allowedScriptCombinations as $ allowedCombo ) { if ( self :: isSubsetOf ( $ scriptList , $ allowedCombo ) ) { return true ; } } return false ; }
Is this an allowed script mixture?

@param array $scriptList
@return bool
Is this an allowed script mixture?