In the last year I have written two data driven RESTful APIs using PHP, replaced a NodeJS project with PHP, built a RESTful API using Python, and maintained a mess of Matlab/Visual Basic (soon to be replaced with Python). PHP is easy to work with provided you don't have preconceptions of what a language should be. It is both a world class language that a subset of developers love to work with and a vocal sub set of developers love to poo poo. It is in some ways a throwback to the days of C. In other ways it is a hybrid made to get the job done in a way that works for clients. It is not a language that insists on "purity" the way some (looking at you Python) do. What I love about PHP is that I can write beautiful, maintainable code though I recognize bad code can be written in PHP. Arguably, it is possible to write ugly unreadable code in any language... the NodeJS project was so bad it was easier to scrap it and do a ground up rewrite in PHP improving performance in the process. Having worked in C#, C, C++, Objective C, Python, Perl, Matlab, and Fortran; most code is an ugly, unholy mess. The language doesn't matter nearly as much as the developer writing it. Bottom line, if you want to write code that will run on basically any web server and be cost effective for clients to host, it is difficult to do better than PHP. If you want to write an SPA use Javascript. If you want to write a GUI for Linux, chose Python or Vala. If you want to do high performance or embedded computing C/C++ are probably the right choice. Those are the choices I have been happiest about in the past year of my life.