> Better yet, avoid the php ecosystem completely and go for a more mature one, even the python and ruby frameworks have better long term prospects than most php based stuff.
Agree with everything you said except this, PHP has recently undergone an renaissance in development, 7 is a huge step forwards (proper AST, the start of an optional type syste, 100% speedup, half the memory usage - I've actually seen these changes on stuff I'm running), composer and the PSR's also helped a great deal.
I expect the split on python/ruby/php to remain pretty constant, Python stuff remains excellent but they aren't doing anything revolutionary in terms of the Web story, Ruby with RoR has made some excellent changes in the new release but in terms of impact I don't think they exceed anything available on PHP.
I'll happily agree that PHP is a horrible language but it's also incredibly productive to program in if you avoid the warty parts (getting easier to do) and approach it like a Python (which I also am) programmer would in terms of writing good maintainable code.
The comment on developers is accurate, there are a lot of PHP "programmers" who fall short of the average in the Python or Ruby community however the total pool of good PHP developers is likely (I don't have metrics so I'm guessing on that one) larger than the total pool of good Python (web anyway, python is everywhere) and Ruby web devs just on community size.
I don't regard having to winnow the chaff a big problem, I'd sooner have more good applicants (in absolute terms) mixed in with a lot of bad applicants than having way less good applicants in a different language.