---
title: "Deprecation: #94252 - GeneralUtility::compileSelectedGetVarsFromArray"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-94252"
source: "Changelog/11.3/Deprecation-94252-DeprecatedGeneralUtilitycompileSelectedGetVarsFromArray.rst"
typo3-version: "11.3"
typo3-major: 11
type: "deprecation"
issue: 94252
forge: "https://forge.typo3.org/issues/94252"
tags: ["PHP-API", "FullyScanned", "ext:core"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #94252 - GeneralUtility::compileSelectedGetVarsFromArray {#deprecation-94252}

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

## Description {#description}

In our effort to reduce usages of `GeneralUtility::_GP()`, the
`GeneralUtility` method `compileSelectedGetVarsFromArray` is
deprecated, since it internally calls `GeneralUtility::_GP()` instead
of accessing the PSR-7 Request. The method was furthermore only used once
in the Core since it's internal logic can easily be implemented on a case
by case basis.

## Impact {#impact}

Using the method will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

All TYPO3 installations calling this method in custom code are affected.
The extension scanner will find such usages as strong match.

## Migration {#migration}

Usages of the method in custom extension code have to be replaced
with a custom implementations, preferably using the PSR-7 Request.

See: `\TYPO3\CMS\Backend\Controller\EditDocumentController->compileStoreData()`
for an example on how such migration could look like.
