I do agree with this comment. I work as a c++ programmer and my friends who stayed at uni to do their PhDs are bringing more money home each month than I do, mostly because it's tax free and they get paid a lot of money to do marking and demonstrating on top of their PhD stipend.
And yes, you have to finish in 4 years, extensions are uncommon.