3 years is supposed to be the aim but most in the UK will still take 4 or 5. I've seen many a PhD student forced to experiment right up to the end of year 3 and been told to not start writing up until the start of 4. At which point they are banned from the lab and then given minimal support to complete in a decent timeframe.