PHP/What I hate about PHP
From Sidvind
- Order of parameters is inconsistent, e.g. array_map and array_filter.
- mysqli::bind_param takes parameters by-reference instead of by-value:
- "Indirect modification of overloaded property"
- "Cannot pass parameter N by reference"
-
Lacks try { .. } finally { .. } which is essential when releasing outside resources.. Fixed in PHP 5.5.