Use `$parts = array($parts[0]);`