---
title: "Deprecation: #94272 - Application->run callback"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-94272"
source: "Changelog/11.3/Deprecation-94272-DeprecatedApplication-runCallback.rst"
typo3-version: "11.3"
typo3-major: 11
type: "deprecation"
issue: 94272
forge: "https://forge.typo3.org/issues/94272"
tags: ["CLI", "PHP-API", "FullyScanned", "ext:core"]
rendered: "2026-09-17T21:17:42+00:00"
---

# Deprecation: #94272 - Application->run callback {#deprecation-94272-application-run-callback}

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

## Description {#description}

Since the introduction of the `\TYPO3\CMS\Core\Core\ApplicationInterface`
in [forge#67808](https://forge.typo3.org/issues/67808) (TYPO3 v7), which serves as a wrapper for setting up the bootstrap and
calling the request, it was possible to run either the console, the frontend
or the backend by calling `run()` on the corresponding Application class.

The `run()` method also featured the possibility to provide a `callback`
as first argument. This was mainly introduced, since no proper solution for
sub requests existed at that time. Since [forge#83725](https://forge.typo3.org/issues/83725), the callback is not
longer necessary as such functionality can be handled by a PSR-15
middleware.

Therefore, the `$execute` argument of `ApplicationInterface->run()`
has been deprecated and will be removed in v12.

## Impact {#impact}

Calling `\TYPO3\CMS\Core\Core\ApplicationInterface->run()` with the
first argument `$execute` set, triggers a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

All installations which manually call
`\TYPO3\CMS\Core\Core\ApplicationInterface->run()`,
while providing a callback as first argument. The extension scanner
will find those usages as weak match.

## Migration {#migration}

Instances with extensions calling
`\TYPO3\CMS\Core\Core\ApplicationInterface->run()` with a callback
as first argument need to be adapted. If possible use PSR-15 middlewares
instead.

Console commands do not feature PSR-15 middlewares. Therefore, the callback
has to be replaced by separate chained post-processing commands.
