There can certainly be some dark times. Sometimes when reading PhD comics I didn't know whether to laugh or cry! Do I regret doing a PhD? Not for a moment: on balance my PhD and postdoc years were fantastic. Although part of my happyness is because I was lucky enough to be in good places and do moderately well. As with going into anything, people should get a balance of views and then decide what's best for them.