- var_dump: documentation ( source)
<?php
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test'] ??= [];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test']['frontend'] ??= 'some frontend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test']['backend'] ??= 'some backend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['test']['options'] ??= ['defaultLifetime' => 0];
var_dump($GLOBALS['TYPO3_CONF_VARS']);