Term: claustragoraphobia
Example: there are three children: one has claustrophobia, the other has agoraphobia and still the other has both claustrophobia and agoraphobia, a condition known as claustragoraphobia
Definition: abnormal fear of both open and closed spaces