It really depends on
-How you decide to learn it
-How well you learn
-Your dedication to learning
- How you decide to learn it.
You may want to pick up a book or two on PHP and read those through, or you may prefer reading online tutorials, or even looking at other's code to learn.
- How well you learn.
Personally, I pick new things up very quickly, but some people take a long longer. I was teacher my friend basic basic (err..😉 ), and I needed to keep reverting back to the older stuff I taught him because he couldn't remember it it just didn't 'stick'.
- Your dedication.
If you don't want to learn, you won't. You need to actually want to learn, and know that you will have troubles, some will be really stupid. I've gotten so mad at a script because it wouldnt work and couldn't figure why, even after reading it 10+ Times, then I found later it was because I had a = instead of a == :p