PHP in 2019
I respect the leaps PHP has come as a language and runtime in recent years, however I still can&#x27;t understand why anyone would elect to use it for greenfields projects.<p>The developer experience might be better than it&#x27;s ever been, but even as pointed out in this article, it still has all the old issues like inconsistent core API, vague global context, and way too much implicit magic and guesswork. Not to mention it still relies on running a separate, third party HTTP server, in contrast to Node.js, Java, Python etc stacks where the HTTP server itself is a native construct of the language&#x2F;runtime.<p>I can&#x27;t see any single use case where there isn&#x27;t a more appropriate alternative to using PHP. The only feasible reason I can see someone would use PHP for a greenfields project in this day and age is that they simply don&#x27;t know any better.<p>&quot;I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail.&quot;