---
title: "Deprecation: #85646 - Deprecate eID implemented as script"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-85646"
source: "Changelog/9.4/Deprecation-85646-DeprecateEIDImplementedAsScript.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #85646 - Deprecate eID implemented as script

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

## Description

Calling a frontend eID as a direct script call has been marked as deprecated.

Setting a PHP eID include like this triggers PHP `E_USER_DEPRECATED` error:

```
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['myEid'] = 'EXT:myExt/Resources/Php/MyAjax.php';

```

This is not valid anymore. Instead, a class / method combination should be used:

```
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['myEid'] = \MyVendor\MyExt\Controller\MyEidController::class . '::myMethod';

```

The main difference is that a script call does not execute code if calling `require()` on
it directly anymore, but needs a proper registration including an entry method to be called.
This increases encapsulation and security.

## Impact

eIDs which are registered with a direct script include trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations

3rd party extensions which implement eIDs with a script to a file instead of
a class->method combination.

## Migration

Register eID with a class::method syntax like `\TYPO3\CMS\Frontend\MyClass::myMethod` instead.
