var_dump flattenTypes