Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

Return original index #3

@sagikazarmark

Description

@sagikazarmark

It would be great if the function could return the original index of the row.

Example:

$array = array(
    'key' => array(
        'element' => 'value'
    )
);

// Returns array('key' => 'value')
array_column($array, 'element', true);

I know it only mimics the core function, but still would be a great feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions