PHP is far from dead. Since we get similar questions all the time, I am just going to repeat an answer from another discussion.
Is PHP still relevant as of 2019?
COBOL, a 1959 dinosaur language deployed on few tens of thousands installations is still relevant in 2019.
PHP is actively developed on 2019 and deployed on several hundreds of millions installations.
Therefore even just the “still widely used in many web apps” is plenty enough to justify learning it.
Plus, PHP is so easy to learn and used everywhere that not knowing it is:
a bad reference on your curriculum, like not knowing any shell or bash command. Sure, you can ignore those but it shows the moment you are assigned some simple tasks. Your boss will know. Your colleagues will know.
Is PHP good for anything?
PHP, especially after version 7.0, is fast, simple, very syntax rich. It comes with embedded security libraries while being the cheapest language available on every host provider.
PHP runs on multiple CPU cores (Node.js needs additional work) and can be used both as sync and async (like Node.js) with an additional script.
PHP implements type hinting, interfaces, facades, traits, singletons, closures, structured exceptions, generic containers, iterators, namespaces, packages (Composer, akin to npm), unit tests, continuous integration…
It comes with thousands of packaged (and stand-alone) libraries, MVC / REST frameworks. Some, in example Laravel, are an industry standard.
And all of this can be learned one bit at a time, because basic PHP is as simple as writing “print(“Hello world”);”. Even a child can learn PHP.
As such, you can find cheap PHP developers everywhere in the world, not just in California.
click here to continue reading: https://simpliv.wordpress.com/2019/07/16/is-php-dead-what-is-the-job-outlook-and-future-of-php-in-the-next-five-years/