10 Most Common PHP Mistakes
- Leaving dangling array references after foreach loops
- Misunderstanding isset() behavior
- Confusion about returning by reference vs. by value
- Performing queries in a loop
- Memory usage headfakes and inefficiencies
- Ignoring Unicode/UTF-8 issues
- Assuming $_POST will always contain your POST data
- Thinking that PHP supports a character data type
- Ignoring coding standards
- Misusing empty()