Task #39134

Task #38086: Enhance TYPO3 bootstrap mechanism

t3lib_utility_array::arrayExport should recognize int keys

Added by Christian Kuhn over 9 years ago. Updated about 4 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

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

Actions
#1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13317

#2

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13317

#3

Updated by Christian Kuhn over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#4

Updated by Riccardo De Contardi about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF