ok

Mini Shell

Direktori : /home2/selectio/www/a1tex.in/vendor/voku/portable-ascii/build/
Upload File :
Current File : /home2/selectio/www/a1tex.in/vendor/voku/portable-ascii/build/generate_max_key_length.php

<?php

require __DIR__ . '/../vendor/autoload.php';

$languages = \voku\helper\ASCII::getAllLanguages();

$languagesKeyLengths = [];
foreach ($languages as $language) {
    $langSpecific = \voku\helper\ASCII::charsArrayWithOneLanguage($language, false, false);

    $langSpecificKeyLength = \array_map('\mb_strlen', \array_keys($langSpecific));

    if (count($langSpecificKeyLength) === 0) {
        $languagesKeyLengths[$language] = 0;
    } else {
        $languagesKeyLengths[$language] = \max($langSpecificKeyLength);
    }
}

//var_export($languagesKeyLengths);

Zerion Mini Shell 1.0