---
title: "Deprecation: #82702 - Second argument of GeneralUtility::mkdir_deep()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-82702"
source: "Changelog/9.0/Deprecation-82702-SecondArgumentOfGeneralUtilitymkdir_deep.rst"
typo3-version: "9.0"
typo3-major: 9
type: "deprecation"
issue: 82702
forge: "https://forge.typo3.org/issues/82702"
tags: ["PHP-API", "FullyScanned"]
rendered: "2026-09-20T05:05:02+00:00"
---

# Deprecation: #82702 - Second argument of GeneralUtility::mkdir_deep() {#deprecation-82702}

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

## Description {#description}

The second option of `TYPO3\CMS\Core\Utility\GeneralUtility::mkdir_deep()` has been marked
as deprecated.

## Impact {#impact}

Calling this method with a second argument which is not empty, will trigger a deprecation entry.

## Affected Installations {#affected-installations}

Any installation with a third-party extension calling this method with two arguments.

## Migration {#migration}

Instead of calling `GeneralUtility::mkdir_deep(PATH_site . 'typo3temp/', 'myfolder');` the simple
syntax GeneralUtility::mkdir_deep(PATH_site . 'typo3temp/myfolder'); can be used directly, also
in TYPO3 v8 and before already.
