KeyCase
: int
in package
Is used with Map::changeKeyCase() to convert array keys to a specific case.
As of PHP 8.2.0, only ASCII characters will be converted.
Table of Contents
Cases
- Lower = self::LOWER
- Convert array keys to lower case.
- Upper = self::UPPER
- Convert array keys to upper case.
Cases
Lower
Convert array keys to lower case.
This is also the default case for ArrayMap::changeKeyCase().
Upper
Convert array keys to upper case.