If your using PHP >= 5.5 use array_column instead array_map for array column result

If your using PHP >= 5.5 use array_column instead array_map for array column result

Example:

The above example will output: