Deprecation: #76804 - Deprecate GeneralUtility::strtoupper & strtolower
See forge#76804
Description
The following methods within General
have been marked as deprecated:
strtoupper
() strtolower
()
Impact
Calling any of the methods above will trigger a deprecation log entry.
Affected Installations
Any installation with a 3rd party extension calling one of the methods in its PHP code.
Migration
Instead of General
use:
mb_strtoupper($value, 'utf-8');
Copied!
Instead of General
use:
mb_strtolower($value, 'utf-8');
Copied!
Alternatively use the native implementation of strtoupper
or strtolower
if the handled string consists of ascii characters only.