Worst PHP practice found in your experience?

Posted by Joshi Spawnbrood on Stack Overflow See other posts from Stack Overflow or by Joshi Spawnbrood
Published on 2008-10-24T10:37:13Z Indexed on 2010/04/12 23:52 UTC
Read the original article Hit count: 540

What are the worst practices found in PHP code?

Some examples:

  • Use of $array[reference] without single quotes
  • Instance "hidden" variables into inclusion files, which are needed later
  • Lots of recursive inclusion not using "_once" functions

Note: maybe subjective or "fun" if you like.

© Stack Overflow or respective owner

Related posts about php

Related posts about Development