DEV Community

Discussion on: PHP... yay or nay?

Collapse
 
funcke profile image
Jonas Funcke

PHP has its flaws and syntactical problems. That's true. But on the other hand it is an easy-to-learn language with great usability for newbies as well as for more experienced programmers.

It is true that, especially with the functional approach and the concept of globals (like the old mysql_ driver) were huge problems and a syntactical pain in the ass (at least in my opinion).

But since PHP 7+ not only improved performance and requiring other .php files (waaay more to come with 7.4 - preloading- and 8 -JIT) but also with more and more libraries adapting an object oriented (PDO) or more local-scoped (mysqli_*) approach the weird and ugly looking procedures in PHP have started to disappear.