How long do you need to master PHP?
Given that the standard library is made of about 180 separate modules, which offer an average 50 functions each, and that you can probably master about 5 of them per day by training very hard, anyone can become a PHP master in a little less than 5 years, so long as PHP stops adding new features in its standard library.