Hi Otto,
sorry that you feel the way you are feeling.
Do you also feel aggressive towards yourself or towards others? Difficulties with patience and getting snappy regarding small things?
If so time to have a break, not necessarily to quit for PhD, with time you feel better again and will renew your energy. Better not to make any major decisions now, so near towards your goal (= PhD)and just give yourself some time!