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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.