---
title: "Deprecation: #86389 - GeneralUtility::_GETset() and TSFE->mergingWithGetVars()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-86389"
source: "Changelog/9.5/Deprecation-86389-GeneralUtility_GETsetAndTSFE-mergingWithGetVars.rst"
typo3-version: "9.5"
typo3-major: 9
type: "deprecation"
issue: 86389
forge: "https://forge.typo3.org/issues/86389"
tags: ["Frontend", "PHP-API", "FullyScanned"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #86389 - GeneralUtility::\_GETset() and TSFE->mergingWithGetVars() {#deprecation-86389}

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

## Description {#description}

Two methods related to setting global `$_GET` parameters have been marked as deprecated:

-   `TYPO3\CMS\Core\Utility\GeneralUtility::_GETset()`
-   `TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->mergingWithGetVars()`

The two methods are wrappers to set the `$_GET` properties, however, this concept has been superseded
by using the PSR-7 request object within PSR-15 middlewares to replace the variables.

## Impact {#impact}

Calling any of the two methods within PHP will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

Any installation making use of these methods within a TYPO3 extension, e.g. RealURL.

## Migration {#migration}

Implement a custom PSR-15 middleware to update the PSR-7 request object, and to manually set `$_GET` on top,
as long as TYPO3 still supports `GeneralUtility::_GP()`, although these methods will vanish in the near future.

Relying on the request object, and using PSR-15 middlewares to manipulate request parameters is more future-proof
for extensions and TYPO3 sites.
