What about double and resource types? array_column() could handle them as well.