---
title: "Deprecation: #68804 - CLI-related constants and methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-68804"
source: "Changelog/7.5/Deprecation-68804-CLI-relatedConstantsAndMethods.rst"
typo3-version: "7.5"
typo3-major: 7
type: "deprecation"
issue: 68804
forge: "https://forge.typo3.org/issues/68804"
tags: ["PHP-API", "CLI"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Deprecation: #68804 - CLI-related constants and methods {#deprecation-68804}

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

## Description {#description}

Logic regarding regular CLI-based scripts with the CLIkey option has been moved
into the CliRequestHandler.

Therefore, the following method has been marked as deprecated:

```php
BackendUserAuthentication->checkCLIuser()
```

Additionally, the following constants and global parameters have been marked for deprecation in CLI context.

```php
const TYPO3_cliKey
const TYPO3_cliInclude
$GLOBALS['MCONF']['name']
$GLOBALS['temp_cliScriptPath']
$GLOBALS['temp_cliKey']
```

The method, constants and variables will be removed in TYPO3 CMS 8.

## Impact {#impact}

Calling `BackendUserAuthentication->checkCLIuser()` directly will now trigger a deprecation log entry.

## Affected Installations {#affected-installations}

Installations with custom entry points in a CLI environment that make use of the method, constants or variables above.

## Migration {#migration}

Use the native `$_SERVER['argv']` or the given `Input` object directly in your code to detect the
current CLI-relevant data.
