Why is PHP so hated? I give that it has stupid things like failing to convert ISO dates or let's you fail for the ==/=== trap but these things are mistakes that are easy to make and not PHP's fault. And the Pajeets that write SQL injections are also not PHP's fault.
It's a pretty comfy language even without any framework. You can create your classes and functions and just make the static pages execute them. So you don't have a mess between HTML and PHP. Python and Ruby are also good for web stuff but PHP 7 is pretty comfy. I rather use that as meme.js on the server side. And websites that don't work without JS are fucking garbage.
because it's clearly written by morons
>all the inconsistencies
>all the redundant functions
e.g. there's random functions and mt_random (mersenne twister) functions which, according to the official PHP documentation, are 'better'
>>59444379
Yeah that's fucking retarded. They need to clean up the language (standardized naming scheme) and remove the useless functions.
Also Pajeets think that real_escape_string will protect them from everything (there's a escape_string that's buggy and instead if fixing it they created a real_escape_string...).
>>59444379
Also, Unicode still isn't fully supported ootb.
>>59444343
A complete answer is, read https://www.reddit.com/r/lolphp/
>>59444343
It's an inconsistent mess of hacks and workarounds.
So is almost all code written in it.