I do a lot of stuff in php. And it actually seems extremely adequate to a whole lot of situations. Still I get annoyed by it on a daily basis. Just a tiny collection of what got on my nerves today:
stripslashes()- who on earth does think of those names?! it's like
strpos($haystack, $needle)- are those string/array guys not talking to each other ? Oh, guess what the opposite of
htmlentities()might be called ! Gave up ? It's
.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readableis caused by .. ? It's the webserver missing rights to read the directory! okay, it is a stupid error but having this in the log is way more stupid as most people discovering that error message will look for a probably non existent htaccess file forever.
These are just things that got on my nerves today, for a more in depth description of why php sucks go to heckmeck! [german].