What I don't like about php -
- Different extensions for mysql (There has to be only one proper way to do stuff and migrating between them is HARD)
- Using references introduces a bucket-load of hard to debug bugs - (Eg: Always set the ref as null after using it, especially when used inside a foreach )
- Library bugs ( Eg: mb_substr has length param as upper bound on number of CHARs to use (Even if encoding is provided). It's actually the number of bytes, the community doesn't accept that as an error, but it was supposedly intended )
utf8_encodeis badly named. It's supposed to convert from ISO-8859-1 to utf-8. It ain't a magic wand.- Inconsistency in function details. For example -
array_map ( callable $callback, array $array1...) array_filter ( array $array, callable $callback...)