Question: how long will it take to learn php?
Answer: PHP lets you do it all but you have to learn the concepts. Concepts common to many modern languages, but concepts that take months to fully grasp. In essence, you may learn how to slap something together in 2 weeks and then take weeks or months to learn theory you'd have to learn for any modern language anyway.