function UnicodeTest::providerStrtoupper

Data provider for testStrtoupper().

Return value

array An array containing a string and its uppercase version.

See also

testStrtoupper()

File

core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php, line 139

Class

UnicodeTest
Test unicode handling features implemented in Unicode component.

Namespace

Drupal\Tests\Component\Utility

Code

public function providerStrtoupper() {
    return [
        [
            'tHe QUIcK bRoWn',
            'THE QUICK BROWN',
        ],
        [
            'FrançAIS is ÜBER-åwesome',
            'FRANÇAIS IS ÜBER-ÅWESOME',
        ],
        [
            'αβγδεζηθικλμνξοσὠ',
            'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.