It’s important that we be true to ourselves. PHP had a number of frustrating, dark years and some great developers jumped over to Ruby on Rails, Python, Go and other languages. I can’t fault them for their move.
PHP has me excited again. After being close to making the switch myself, I’m happy that I stuck it out. Working with Composer, Laravel, and a number of great packages over the last couple of years, I can say that PHP is back. The modular direction, open sharing of knowledge and resurgence in energy are all pointing to a great future.
What will the most popular web languages be in 10 years? It’s hard to say. But, PHP is the most used language, has the most common CMS, and I’m comfortable calling it home for the foreseeable future.