Samuel Folkes has posted a few practices (seventeen, to be exact) that PHP developers should "banish forever" from their development habits.
The following is a list of 17 PHP programming practices that in my opinion should be banished into oblivion. Forever and ever. Amen. Please note that this list is in no particular order.
Some of the practices include:
- Relying on Magic Quotes
- Mixing HTML, PHP, SQL, JS, CSS, Etc, Etc
- Not Documenting Code
- Using Regex Functions for Basic String Manipulation.
- Unquoted Array Keys
- Using Uninitialized Variables
There's lots more where those came from so check out the rest of the list here.