Deprecation: #95293 - StringUtility::beginsWith() and StringUtility::endsWith()¶
See Issue #95293
The helper methods
StringUtility::endsWith() have been marked as deprecated, as the newly
available PHP-built in functions
str_ends_with() can be used instead, which support proper typing and
is faster on PHP 8.0.
For PHP 7.4 installations, the dependency
symfony/polyfill-php80 adds the
PHP functions in lower PHP environments, which TYPO3 Core ships as dependency
since TYPO3 v10 LTS.
will trigger a PHP
TYPO3 installations using these TYPO3 API functions - either via extensions or in their own site-specific code. An analysis via TYPO3’s extension scanner will show any matches.