Welcome Guest, Not a member yet? Register   Sign In
Why developers hate PHP

Excellent read...I think there is a lot of truth to this article.


Let's hope that the development of the new version of php8 will carry out new solutions such as simplifying spaghetti codes and helping frameworks become more advanced and less complicated.

Most of the hate comes from old (from 10+ years ago) bad experience, php can't be used as a frontend solution so you have to learn a different language (js can be used for anything) and herd mentality (sb said its bad so its bad)... If you like it use it period.

PHP has problem with language design and code implementations

My main concern is the lack of a compiler and with the death of licensing solutions like PHPExpress, packaging a binary solution is hard. Otherwise I enjoy working in PHP 7+ and I think it's modern enough.
Inventing a new language for every task is not the way forward.

(This post was last modified: 01-13-2021, 03:23 AM by John_Betong.)

PHP has been on the go for a very long time and has changed dramatically. There are now thousands of functions and the number is increasing!

What I don’t like about it is the function name changes and order of parameters to try and make it consistent. I would also like some functions to be the same as C and return -1 false value rather than a zero which could be either true or false!

The latest PHP 7.0 was a vast improvement over previous versions. I love the define strict_types, makes programming that much more strict, excuse-pun, but it does scream if incorrect parameters are passed.

I have yet to come to grips with the compiler and looking forward to see if it makes much of a difference.

Theme © iAndrew 2016 - Forum software by © MyBB