Data provider for testStrtoupper().
array An array containing a string, its uppercase version and whether it should be processed as multibyte.
testStrtoupper()
public function providerStrtoupper() {
$cases = array(
array(
'tHe QUIcK bRoWn',
'THE QUICK BROWN',
),
array(
'FrançAIS is ÜBER-åwesome',
'FRANÇAIS IS ÜBER-ÅWESOME',
),
);
foreach ($cases as $case) {
// Test the same string both in multibyte and singlebyte conditions.
array_push($case, TRUE);
$cases[] = $case;
}
// Add a multibyte string.
$cases[] = array(
'αβγδεζηθικλμνξοσὠ',
'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
TRUE,
);
return $cases;
}