Project

General

Profile

Actions

Task #39134

closed

Task #38086: Enhance TYPO3 bootstrap mechanism

t3lib_utility_array::arrayExport should recognize int keys

Added by Christian Kuhn over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:

Description

psoudo code:

$lines = 'array(' . LF;
$level ++;
// determine if keys are int from 0 to n, without gaps, then $isIntKey = TRUE
foreach ($array as $key => $value) {
// if isIntKey
$lines = '';
else $lines .= str_repeat(TAB, $level) . '\'' . $key . '\' => ';

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #38562: Refactor localconf.php handlingClosed2012-07-02

Actions
Actions

Also available in: Atom PDF