Support for array_column function under php5.5

/**
 * array_column supports low version
 * @param array $array [description]
 * @param [type] $column_key [description]
 * @param [type] $index_key [description]
 * @return [type] [description]
 */
Function _array_column(array $array, $column_key, $index_key = null)
{
    $result = [];
    Foreach ($array as $arr) {
        If (!is_array($arr)) {
            Continue;
        }

        If (is_null($column_key)) {
            $value = $arr;
        } else {
            $value = $arr[$column_key];
        }

        If (!is_null($index_key)) {
            $key = $arr[$index_key];
            $result[$key] = $value;
        } else {
            $result[] = $value;
        }
    }
    Return $result;
}