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 12 years ago. Updated about 7 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 #1

Updated by Gerrit Code Review over 12 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

Actions #2

Updated by Gerrit Code Review over 12 years ago

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

Actions #3

Updated by Christian Kuhn over 12 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF