Actions
Task #39134
closedTask #38086: Enhance TYPO3 bootstrap mechanism
t3lib_utility_array::arrayExport should recognize int keys
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 . '\' => ';
Actions