Brake Pedal goes to floor and car won't stop, WHY?

Thank you for your reply. Does it matter that it is intermittent. It has only happened once. Also would a master cylinder failure result in faded brakes, or brakes that don’t work as well as they should?