PHP is still very relevant in today's society and I think it will be around for awhile. In saying that, technologies like NodeJS is gaining traction on the PHP marketshare. The issue with NodeJS comes down to it not being shared server friendly. With PHP if you write some bad code, you might slow down the entire server, but it recovers quickly. With NodeJS, if you write some bad code, NodeJS will crash and now everyone's website on that server is down.
Reminds me of the early Coldfusion days. They eventually fixed that problem with Coldfusion and I expect it might be fixed with NodeJS one day. But for now, its an issue and helping keep PHP in the forefront of being the primary language of the internet.