Why some people hate PHP? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why some people hate PHP?

20th Sep 2020, 7:50 AM
Rice Noodle
Rice Noodle - avatar
12 Answers
+ 14
PHP has several problems with language design, core implementations, etc (many of these are legacy-related). It's also easy to get started with, which leads to a community with a large percentage of newbies making silly mistakes.
20th Sep 2020, 7:54 AM
Bagon
Bagon - avatar
+ 2
Nowadays PHP is usually included in the basic offer of a provider. It is therefore the cheapest alternative to server-side solutions. Besides, in many projects is sufficient enough. I love it.
20th Sep 2020, 8:15 AM
JaScript
JaScript - avatar
+ 2
It is still widely used on the web.
21st Sep 2020, 10:23 PM
Sonic
Sonic - avatar
+ 2
Why some people like PHP ?
21st Sep 2020, 11:00 PM
🍂B. Eitan 🌵
🍂B. Eitan 🌵 - avatar
+ 1
Bagon are programmers still using PHP in 2020?
20th Sep 2020, 7:55 AM
Rice Noodle
Rice Noodle - avatar
+ 1
Rice Noodle of course but there are many alternatives now: django/flask, node.js, ruby on rails, go...
20th Sep 2020, 7:56 AM
Bagon
Bagon - avatar
+ 1
Even, php developer said to me, you keep on working in python or js
21st Sep 2020, 8:49 PM
meherDev
meherDev - avatar
+ 1
Some older versions of PHP also had security issues.
21st Sep 2020, 10:22 PM
Sonic
Sonic - avatar
0
Maybe it's hard to learn...
21st Sep 2020, 5:47 PM
Rustam Shrestha
Rustam Shrestha - avatar
0
Because PHP is a old language
22nd Sep 2020, 7:28 AM
Hriday Kalita
0
This is perhaps the largest criticism of PHP ever. https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ It should be noted that since this article was written in 2012. The PHP team have made many amendments to make PHP fun to work with. Most people however are still stuck in the past and do not know of the exciting features of PHP 7. PHP 7 is not perfect though. Here are some problems that still persist in PHP 7. 1. Inconsistent naming for global built-in functions. 2. The SPL classes, built-ins etc are not namespaced. 3. Too many similar functions with slight (not-so-obvious) differences. 4. The parser refers to tokens by their internal names which might not even be English. 5. Unicode is unnecessarily difficult to work with even with the multibyte extension. Remember there are two types of languages: a. the ones nobody uses b. the ones everybody complains about.
22nd Sep 2020, 12:53 PM
Ore
Ore - avatar