DEV Community

Discussion on: Do Developers Still Use PHP (and why that’s the wrong question to ask)

Collapse
 
stexaz profile image
Andrius Petrauskis

Oh but it is. Of course you can write non-oop code but most modern applications/frameworks consists of object oriented php. The infinite loop problem is relatable but it can be just like that in any other language, like c or rust. In which case it could break your VPS even faster. It all depends on programmer who writes the code and the tools that are used. E.g. phpStorm (much like other jetBrains products) is superior tool helping to prevent many problems. There are also a lot of static analysis tools, like phpcs, phpmd, phan etc. And of course, phpunit tests. If you test your code well it is very unlikely it will bring any unexpected results.

Some comments have been hidden by the post's author - find out more