Why is PHP hated by so many developers?

General discussion on PHP

Why is PHP hated by so many developers?

Postby swee3875 on Sat Aug 19, 2017 1:32 pm

There are many good reasons to hate PHP, and they run way deeper than some inconsistently named functions with misordered parameters. Learning PHP will actually transform you into a worse programmer, and writing in PHP will leave behind a mess that’s a costly nightmare to maintain and clean up after. Here are my top four reasons.
swee3875
 
Posts: 1
Joined: Sat Aug 19, 2017 1:29 pm

Re: Why is PHP hated by so many developers?

Postby ahma3515 on Mon Aug 21, 2017 8:49 am

There are many desirable motives to hate PHP, and that they run way deeper than some erratically named features with misordered parameters. Learning PHP will certainly transform you into a worse programmer, and writing in PHP will depart at the back of a multitude that’s a luxurious nightmare to keep and smooth up after. Here are my pinnacle 4 reasons.

PHP encourages an insecure programming style by using layout. Its very syntax encourages you to splice unescaped values without delay into database queries and HTML output without wondering twice, leading to SQL injection and move-web site scripting vulnerabilities. To write any PHP code that isn’t riddled with these security holes, you need to actively work against this by means of carefully sprinkling your code with calls to capabilities with lengthy names like htmlspecialchars() and mysql_real_escape_string() (that’s proper, make certain you operate the real one!*). If you want any safety from pass-web page request forgery assaults, you want to move enforce it yourself.
ahma3515
 
Posts: 2
Joined: Mon Aug 21, 2017 8:44 am
Location: Pakistan

Re: Why is PHP hated by so many developers?

Postby ahma3515 on Mon Aug 21, 2017 8:52 am

PHP references are brain-damagingly incorrect. I suggest that actually—I understand from non-public revel in that PHP references will damage your mind in ways with a view to make it tougher which will learn the way references and tips paintings in actual programming languages.
ahma3515
 
Posts: 2
Joined: Mon Aug 21, 2017 8:44 am
Location: Pakistan


Return to PHP

Who is online

Users browsing this forum: No registered users and 1 guest