---
title: "Deprecation: #75621 - GeneralUtility methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-75621"
source: "Changelog/8.1/Deprecation-75621-GeneralUtilityMethods.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #75621 - GeneralUtility methods

See [forge#75621](https://forge.typo3.org/issues/75621)

## Description

The following methods within `GeneralUtility` have been marked as deprecated:

-   compat_version()
-   convertMicrotime()
-   deHSCentities()
-   slashJS()
-   rawUrlEncodeJS()
-   rawUrlEncodeFP()
-   lcfirst()
-   getMaximumPathLength()

The second parameter of `GeneralUtility::wrapJS()` has been removed.

## Impact

Calling any of the methods above will trigger a deprecation log entry.

Calling `GeneralUtility::wrapJS()` with the second parameter will trigger a PHP notice message.

## Affected Installations

Any installation with a third-party extension calling one of the methods in its PHP code.

## Migration

For the following methods, use the native PHP methods and constants directly that are used within these methods:

-   compat_version()
-   convertMicrotime()
-   deHSCentities()
-   slashJS()
-   rawUrlEncodeJS()
-   rawUrlEncodeFP()
-   lcfirst()
-   getMaximumPathLength()
