Skip to content
  • Christian Kuhn's avatar
    [FEATURE] arrayExport() should recognize int keys · 04857a5d
    Christian Kuhn authored
    t3lib_utility_Array::arrayExport() currently exports array keys always
    as strings. With the patch integer array keys are now recognized and
    written as integers. Additionally, if all array keys are integers and
    consecutive from zero to n, the key is left out completly. See the
    unit tests for details.
    
    This is useful for the extListArray in LocalConfiguration, which now
    misses the array key and makes the array even more easy to handle.
    
    Change-Id: I6233798a8d22257f542c575791f95226220703ca
    Resolves: #39134
    Releases: 6.0
    Reviewed-on: http://review.typo3.org/13317
    Reviewed-by: Wouter Wolters
    Tested-by: Wouter Wolters
    Reviewed-by: Susanne Moog
    Tested-by: Susanne Moog
    Reviewed-by: Christian Kuhn
    Tested-by: Christian Kuhn
    04857a5d
Loading